Dmitry Timoshkov : user32: Use symbolic names for values returned by WM_MENUCHAR handler.
Alexandre Julliard
julliard at winehq.org
Mon Apr 11 13:29:28 CDT 2011
Module: wine
Branch: master
Commit: a859e73d5f192da5605134bae413886520f6eda1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a859e73d5f192da5605134bae413886520f6eda1
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Mon Apr 11 13:44:53 2011 +0900
user32: Use symbolic names for values returned by WM_MENUCHAR handler.
---
dlls/user32/mdi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index 6385476..c92eeb1 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -1464,7 +1464,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
return 0;
case WM_MENUCHAR:
- return 0x00010000; /* MDI children don't have menu bars */
+ return MAKELRESULT( 0, MNC_CLOSE ); /* MDI children don't have menu bars */
case WM_CLOSE:
SendMessageW( client, WM_MDIDESTROY, (WPARAM)hwnd, 0 );
More information about the wine-cvs
mailing list