Commit 5395d23a authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent a7897d3d
...@@ -12591,6 +12591,7 @@ static void test_menu_messages(void) ...@@ -12591,6 +12591,7 @@ static void test_menu_messages(void)
SetMenu(hwnd, hmenu); SetMenu(hwnd, hmenu);
SetForegroundWindow( hwnd ); SetForegroundWindow( hwnd );
flush_events();
set_menu_style(hmenu, MNS_NOTIFYBYPOS); set_menu_style(hmenu, MNS_NOTIFYBYPOS);
style = get_menu_style(hmenu); style = get_menu_style(hmenu);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment