Alexandre Julliard : user32/tests: Mark a couple of painting messages as optional.

Alexandre Julliard julliard at winehq.org
Thu Mar 5 10:31:08 CST 2009


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Mar  5 14:26:55 2009 +0100

user32/tests: Mark a couple of painting messages as optional.

---

 dlls/user32/tests/msg.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 4a51600..423b747 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -413,7 +413,7 @@ static const struct message WmSWP_FrameChanged_noclip[] = {
     { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 },
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|beginpaint }, /* wparam != 1 */
-    { WM_ERASEBKGND, sent|beginpaint },
+    { WM_ERASEBKGND, sent|beginpaint|optional },
     { 0 }
 };
 
@@ -8206,7 +8206,9 @@ static const struct message ScrollWindowPaint1[] = {
     { WM_ERASEBKGND, sent|beginpaint },
     { WM_GETTEXTLENGTH, sent|optional },
     { WM_PAINT, sent|optional },
-    { WM_NCPAINT, sent|optional },
+    { WM_NCPAINT, sent|beginpaint|optional },
+    { WM_GETTEXT, sent|optional },
+    { WM_GETTEXT, sent|optional },
     { WM_GETTEXT, sent|optional },
     { WM_ERASEBKGND, sent|optional },
     { 0 }




More information about the wine-cvs mailing list