Commit 9c27ed21 authored by Alexandre Julliard's avatar Alexandre Julliard

user32/tests: Properly flush events in the update rect tests.

parent f19086e9
......@@ -4229,6 +4229,7 @@ static void test_GetUpdateRect(void)
ShowWindow(hgrandparent, SW_SHOW);
UpdateWindow(hgrandparent);
flush_events();
ShowWindow(hchild, SW_HIDE);
SetRect(&rc2, 0, 0, 0, 0);
......@@ -4288,6 +4289,7 @@ static void test_GetUpdateRect(void)
ShowWindow(hgrandparent, SW_SHOW);
UpdateWindow(hgrandparent);
flush_events();
ret = GetUpdateRect(hgrandparent, &rc1, FALSE);
ok(!ret, "GetUpdateRect returned not empty region\n");
......
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