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

Alexandre Julliard julliard at winehq.org
Tue Feb 2 10:45:29 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Feb  2 11:24:46 2010 +0100

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

---

 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 6fb6ce0..c92b3ed 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -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);




More information about the wine-cvs mailing list