diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 94e1d2b63f8..2a62400f948 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 */