Module: wine Branch: master Commit: 9c27ed21a238abdaa57918030983f7d03ff927a8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c27ed21a238abdaa579180309...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 17 14:13:37 2007 +0200
user32/tests: Properly flush events in the update rect tests.
---
dlls/user32/tests/win.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 8da30bf..b318677 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -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");