Dmitry Timoshkov : user32/tests: Flush pending events before testing menu messages.

Alexandre Julliard julliard at winehq.org
Tue Feb 18 14:11:03 CST 2014


Module: wine
Branch: master
Commit: 5395d23a7e0aff5c2b2fff596454e7f4373f7b97
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5395d23a7e0aff5c2b2fff596454e7f4373f7b97

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Feb 18 05:55:54 2014 +0900

user32/tests: Flush pending events before testing menu messages.

---

 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);




More information about the wine-cvs mailing list