user32: Fix a failure when running under Windows 2003

Dmitry Timoshkov dmitry at codeweavers.com
Wed Feb 28 05:13:34 CST 2007


Hello,

this patch fixes a failure reported in
http://test.winehq.org/data/200702271000/2003_W2K3-SE-IE7/user32:msg.txt

Changelog:
    user32: Fix a 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
-- 
1.5.0






More information about the wine-patches mailing list