user32/tests: Dispatch a message in case we can a WM_PAINT.

This commit is contained in:
Alexandre Julliard 2010-02-02 11:24:46 +01:00
parent ffeef37be2
commit c4568edd64
1 changed files with 1 additions and 0 deletions

View File

@ -2980,6 +2980,7 @@ static void test_mouse_input(HWND hwnd)
if (msg.message == WM_TIMER || ignore_message(msg.message)) continue;
ok(msg.hwnd == popup && msg.message == WM_MOUSEMOVE,
"hwnd %p message %04x\n", msg.hwnd, msg.message);
DispatchMessage(&msg);
}
ret = peek_message(&msg);
ok( !ret, "message %04x available\n", msg.message);