Skip to content
Snippets Groups Projects
Commit a859e73d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard
Browse files

user32: Use symbolic names for values returned by WM_MENUCHAR handler.

parent fc401445
Branches
Tags
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment