From 00b68720bf32748422e6ccab8629acf04aec9d5a Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 20 Apr 2016 15:35:08 +0200 Subject: [PATCH] user32: Change value of WM_MDICALCCHILDSCROLL to 0x003f. Signed-off-by: Dmitry Timoshkov Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- 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 33661856506..665610d73ca 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 673b9b5c397..c931d02c975 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);