user32: Change value of WM_MDICALCCHILDSCROLL to 0x003f. (resend)
Sebastian Lackner
sebastian at fds-team.de
Wed Apr 20 08:35:08 CDT 2016
From: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---
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 3366185..665610d 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 673b9b5..c931d02 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -2194,11 +2194,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.7.1
More information about the wine-patches
mailing list