Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1cbedfb2
Commit
1cbedfb2
authored
Feb 07, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix crash on Win9x/WinMe.
parent
c0acfe1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
win.c
dlls/user32/tests/win.c
+10
-5
No files found.
dlls/user32/tests/win.c
View file @
1cbedfb2
...
...
@@ -448,11 +448,16 @@ static void test_parent_owner(void)
ok
(
ret
==
desktop
,
"SetParent return value %p expected %p
\n
"
,
ret
,
desktop
);
check_parents
(
test
,
child
,
child
,
0
,
0
,
hwndMain
,
test
);
ShowWindow
(
test
,
SW_SHOW
);
ret
=
SetParent
(
test
,
test
);
ok
(
ret
==
NULL
,
"SetParent return value %p expected %p
\n
"
,
ret
,
NULL
);
ok
(
GetWindowLongA
(
test
,
GWL_STYLE
)
&
WS_VISIBLE
,
"window is not visible after SetParent
\n
"
);
check_parents
(
test
,
child
,
child
,
0
,
0
,
hwndMain
,
test
);
if
(
!
is_win9x
)
{
ShowWindow
(
test
,
SW_SHOW
);
ret
=
SetParent
(
test
,
test
);
ok
(
ret
==
NULL
,
"SetParent return value %p expected %p
\n
"
,
ret
,
NULL
);
ok
(
GetWindowLongA
(
test
,
GWL_STYLE
)
&
WS_VISIBLE
,
"window is not visible after SetParent
\n
"
);
check_parents
(
test
,
child
,
child
,
0
,
0
,
hwndMain
,
test
);
}
else
win_skip
(
"Test crashes on Win9x/WinMe
\n
"
);
DestroyWindow
(
test
);
/* owned popup */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment