Dmitry Timoshkov : user32: Fix some BM_SETSTYLE test failres under Win9x.

Alexandre Julliard julliard at winehq.org
Mon Jul 6 09:33:57 CDT 2009


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Mon Jul  6 15:16:01 2009 +0900

user32: Fix some BM_SETSTYLE test failres under Win9x.

---

 dlls/user32/tests/msg.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 0e6ed29..e2789ce 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -5215,7 +5215,7 @@ static const struct message WmSetStyleButtonSeq[] =
     { WM_APP, sent|wparam|lparam, 0, 0 },
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|defwinproc|optional }, /* FIXME: Wine sends it */
-    { WM_ERASEBKGND, sent|defwinproc },
+    { WM_ERASEBKGND, sent|defwinproc|optional }, /* Win9x doesn't send it */
     { WM_CTLCOLORBTN, sent|parent },
     { 0 }
 };
@@ -5225,7 +5225,7 @@ static const struct message WmSetStyleStaticSeq[] =
     { WM_APP, sent|wparam|lparam, 0, 0 },
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|defwinproc|optional }, /* FIXME: Wine sends it */
-    { WM_ERASEBKGND, sent|defwinproc },
+    { WM_ERASEBKGND, sent|defwinproc|optional }, /* Win9x doesn't send it */
     { WM_CTLCOLORSTATIC, sent|parent },
     { 0 }
 };
@@ -5235,7 +5235,7 @@ static const struct message WmSetStyleUserSeq[] =
     { WM_APP, sent|wparam|lparam, 0, 0 },
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|defwinproc|optional }, /* FIXME: Wine sends it */
-    { WM_ERASEBKGND, sent|defwinproc },
+    { WM_ERASEBKGND, sent|defwinproc|optional }, /* Win9x doesn't send it */
     { WM_CTLCOLORBTN, sent|parent },
     { WM_COMMAND, sent|wparam|parent, MAKEWPARAM(ID_BUTTON, BN_PAINT) },
     { 0 }
@@ -5246,9 +5246,9 @@ static const struct message WmSetStyleOwnerdrawSeq[] =
     { WM_APP, sent|wparam|lparam, 0, 0 },
     { WM_PAINT, sent },
     { WM_NCPAINT, sent|optional }, /* FIXME: Wine sends it */
-    { WM_ERASEBKGND, sent|defwinproc },
-    { WM_CTLCOLORBTN, sent|parent },
+    { WM_ERASEBKGND, sent|defwinproc|optional }, /* Win9x doesn't send it */
     { WM_CTLCOLORBTN, sent|parent },
+    { WM_CTLCOLORBTN, sent|parent|optional }, /* Win9x doesn't send it */
     { WM_DRAWITEM, sent|wparam|lparam|parent, ID_BUTTON, 0x000010e4 },
     { 0 }
 };




More information about the wine-cvs mailing list