From 3a234761ed79e75dfb9d9ae68812ef11ea3dcecd Mon Sep 17 00:00:00 2001
From: Dmitry Timoshkov <dmitry@baikal.ru>
Date: Fri, 20 Nov 2015 16:38:22 +0800
Subject: user32: Change value for WM_MDICALCCHILDSCROLL to 0x003f.

This appears to be what Windows uses.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
---
 dlls/user32/mdi.c       | 2 +-
 dlls/user32/tests/win.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index b5a0473..46a68ab8 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -103,7 +103,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mdi);
 
 #define MDI_MAXTITLELENGTH      0xa1
 
-#define WM_MDICALCCHILDSCROLL   0x10ac /* this is exactly what Windows uses */
+#define WM_MDICALCCHILDSCROLL   0x003f /* this is exactly what Windows uses */
 
 /* "More Windows..." definitions */
 #define MDI_MOREWINDOWSLIMIT    9       /* after this number of windows, a "More Windows..."
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index fc6505f..9901789 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -2115,11 +2115,9 @@ static void test_mdi(void)
                 gotit = TRUE;
             }
             else
-todo_wine
                 ok(msg.hwnd != mdi_client, "message %04x should not be posted to mdiclient\n", msg.message);
             DispatchMessageA(&msg);
         }
-todo_wine
         ok(gotit, "message 0x003f should appear after SetWindowPos\n");
 
         si.cbSize = sizeof(si);
-- 
2.6.2

