user32: Use symbolic names for values returned by WM_MENUCHAR handler.
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Apr 10 23:44:53 CDT 2011
---
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 );
--
1.7.4.3
More information about the wine-patches
mailing list