Alexandre Julliard : user32/tests: Ignore WM_PAINT messages in GetMessagePos test.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Feb 24 10:33:23 CST 2015
Module: wine
Branch: master
Commit: 4e87b952b3a9c1291829dc076e0b3639a1c048a3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4e87b952b3a9c1291829dc076e0b3639a1c048a3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Feb 24 16:19:26 2015 +0900
user32/tests: Ignore WM_PAINT messages in GetMessagePos test.
---
dlls/user32/tests/win.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index c6dee75..0b67eea 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -8032,6 +8032,11 @@ static void test_GetMessagePos(void)
SetTimer(button, 1, 250, NULL);
SetCursorPos(330, 350);
GetMessageA(&msg, button, 0, 0);
+ while (msg.message == WM_PAINT)
+ {
+ UpdateWindow( button );
+ GetMessageA(&msg, button, 0, 0);
+ }
ok(msg.message == WM_TIMER, "msg.message = %x\n", msg.message);
pos = GetMessagePos();
todo_wine ok(pos == MAKELONG(330, 350), "pos = %08x\n", pos);
More information about the wine-cvs
mailing list