Commit a859e73d authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent fc401445
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment