Dmitry Timoshkov : user32: Change value of WM_MDICALCCHILDSCROLL to 0x003f.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 20 10:36:08 CDT 2016


Module: wine
Branch: master
Commit: 00b68720bf32748422e6ccab8629acf04aec9d5a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=00b68720bf32748422e6ccab8629acf04aec9d5a

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Apr 20 15:35:08 2016 +0200

user32: Change value of WM_MDICALCCHILDSCROLL to 0x003f.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);




More information about the wine-cvs mailing list