From a859e73d5f192da5605134bae413886520f6eda1 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 11 Apr 2011 13:44:53 +0900 Subject: [PATCH] user32: Use symbolic names for values returned by WM_MENUCHAR handler. --- dlls/user32/mdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 63854769719..c92eeb1f692 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 );