user32/tests: Flush pending events before testing menu messages.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Feb 17 14:55:54 CST 2014
This patch should fix the problem reported in the bug 35609.
---
dlls/user32/tests/msg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 8cc431c..20248dd 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -12591,6 +12591,7 @@ static void test_menu_messages(void)
SetMenu(hwnd, hmenu);
SetForegroundWindow( hwnd );
+ flush_events();
set_menu_style(hmenu, MNS_NOTIFYBYPOS);
style = get_menu_style(hmenu);
--
1.8.5.5
More information about the wine-patches
mailing list