When reverting a window's system menu, delete the old one recursively.

svn path=/trunk/; revision=35164
This commit is contained in:
Jeffrey Morlan 2008-08-07 16:45:00 +00:00
parent 5a1ef6a0a8
commit 0d3d7a03f7

View file

@ -787,7 +787,7 @@ IntGetSystemMenu(PWINDOW_OBJECT Window, BOOL bRevert, BOOL RetMenu)
Menu = UserGetMenuObject(Window->SystemMenu);
if(Menu)
{
IntDestroyMenuObject(Menu, FALSE, TRUE);
IntDestroyMenuObject(Menu, TRUE, TRUE);
Window->SystemMenu = (HMENU)0;
}
}