[3/3] user32: Change value for WM_MDICALCCHILDSCROLL to 0x003f.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Nov 20 02:38:22 CST 2015
This appears to be what Windows uses.
Signed-off-by: Dmitry Timoshkov <dmitry at 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.3
More information about the wine-patches
mailing list