user32/tests: Add missing flush_events in ScrollWindow test.
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 @@
 
     ShowWindow( hwnd, SW_SHOW);
     UpdateWindow( hwnd);
+    flush_events( TRUE );
     GetClientRect( hwnd, &rc);
     hdc = GetDC( hwnd);
     /* test ScrollWindow(Ex) with no clip rectangle */