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
179957d5
Commit
179957d5
authored
Apr 15, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Fix DrawMenuBar test failures.
parent
1a988fa4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
msg.c
dlls/user32/tests/msg.c
+5
-0
No files found.
dlls/user32/tests/msg.c
View file @
179957d5
...
...
@@ -4559,6 +4559,7 @@ static void test_messages(void)
HMENU
hmenu
;
MSG
msg
;
LRESULT
res
;
POINT
pos
;
flush_sequence
();
...
...
@@ -4819,6 +4820,9 @@ static void test_messages(void)
after_end_dialog
=
FALSE
;
test_def_id
=
FALSE
;
ok
(
GetCursorPos
(
&
pos
),
"GetCursorPos failed
\n
"
);
ok
(
SetCursorPos
(
109
,
109
),
"SetCursorPos failed
\n
"
);
hwnd
=
CreateWindowExA
(
0
,
"TestDialogClass"
,
NULL
,
WS_POPUP
|
WS_CHILD
,
0
,
0
,
100
,
100
,
0
,
0
,
GetModuleHandleA
(
0
),
NULL
);
ok
(
hwnd
!=
0
,
"Failed to create custom dialog window
\n
"
);
...
...
@@ -4832,6 +4836,7 @@ static void test_messages(void)
ok
(
DrawMenuBar
(
hwnd
),
"DrawMenuBar failed: %d
\n
"
,
GetLastError
());
flush_events
();
ok_sequence
(
WmDrawMenuBarSeq
,
"DrawMenuBar"
,
FALSE
);
ok
(
SetCursorPos
(
pos
.
x
,
pos
.
y
),
"SetCursorPos failed
\n
"
);
DestroyWindow
(
hwnd
);
flush_sequence
();
...
...
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