Alexandre Julliard : user32/tests: Add missing flush_events in ScrollWindow test.

Alexandre Julliard julliard at winehq.org
Fri Sep 25 10:25:45 CDT 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Sep 25 16:08:50 2009 +0200

user32/tests: Add missing flush_events in ScrollWindow test.

---

 dlls/user32/tests/win.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 94e1d2b..2a62400 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -3226,6 +3226,7 @@ static void test_scrollwindow( HWND hwnd)
 
     ShowWindow( hwnd, SW_SHOW);
     UpdateWindow( hwnd);
+    flush_events( TRUE );
     GetClientRect( hwnd, &rc);
     hdc = GetDC( hwnd);
     /* test ScrollWindow(Ex) with no clip rectangle */




More information about the wine-cvs mailing list