Author: jmorlan
Date: Thu Aug 7 11:45:00 2008
New Revision: 35164
URL:
http://svn.reactos.org/svn/reactos?rev=35164&view=rev
Log:
When reverting a window's system menu, delete the old one recursively.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Aug 7 11:45:00
2008
@@ -787,7 +787,7 @@
Menu = UserGetMenuObject(Window->SystemMenu);
if(Menu)
{
- IntDestroyMenuObject(Menu, FALSE, TRUE);
+ IntDestroyMenuObject(Menu, TRUE, TRUE);
Window->SystemMenu = (HMENU)0;
}
}