mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
When reverting a window's system menu, delete the old one recursively.
svn path=/trunk/; revision=35164
This commit is contained in:
parent
5a1ef6a0a8
commit
0d3d7a03f7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue