- Turn on MDI system menus.

svn path=/trunk/; revision=63493
This commit is contained in:
James Tabor 2014-05-28 22:52:38 +00:00
parent 86da1bfa04
commit d3a1610c4b

View file

@ -1684,12 +1684,12 @@ PMENU FASTCALL MENU_GetSystemMenu(PWND Window, PMENU Popup)
if (!Popup)
{
//hNewMenu = co_IntLoadSysMenuTemplate();
//if ( Window->ExStyle & WS_EX_MDICHILD )
//{
// RtlInitUnicodeString( &MenuName, L"SYSMENUMDI");
// hNewMenu = co_IntCallLoadMenu( hModClient, &MenuName);
//}
//else
if ( Window->ExStyle & WS_EX_MDICHILD )
{
RtlInitUnicodeString( &MenuName, L"SYSMENUMDI");
hNewMenu = co_IntCallLoadMenu( hModClient, &MenuName);
}
else
{
RtlInitUnicodeString( &MenuName, L"SYSMENU");
hNewMenu = co_IntCallLoadMenu( hModClient, &MenuName);