Dmitry Timoshkov : user32: Fix a test failure when running under Windows 2003.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 28 08:19:15 CST 2007


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Feb 28 19:13:34 2007 +0800

user32: Fix a test failure when running under Windows 2003.

---

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

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 7b4505d..53c076f 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -2004,7 +2004,7 @@ static const struct message WmCreateMDIchildInvisibleMaxSeq4[] = {
     { WM_NCCALCSIZE, sent|wparam, 1 },
     { WM_WINDOWPOSCHANGED, sent|wparam, SWP_FRAMECHANGED|SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOMOVE|SWP_NOCLIENTSIZE|SWP_NOCLIENTMOVE },
     { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 }, /* MDI frame */
-    { WM_NCCALCSIZE, sent|wparam, 1 }, /* MDI child */
+    { WM_NCCALCSIZE, sent|wparam|optional, 1 }, /* MDI child */
     { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 }, /* MDI child */
     { EVENT_OBJECT_LOCATIONCHANGE, winevent_hook|wparam|lparam, 0, 0 }, /* MDI child */
     /* Win2k sends wparam set to




More information about the wine-cvs mailing list