mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[Win32k]
- Fix all the user32 wine win test_CreateWindow tests. svn path=/trunk/; revision=50185
This commit is contained in:
parent
e6a4fb691d
commit
527d9e4e17
1 changed files with 3 additions and 2 deletions
|
@ -437,8 +437,9 @@ static LRESULT co_UserFreeWindow(PWND Window,
|
|||
TIMER_RemoveWindowTimers(Window->head.h);
|
||||
#endif
|
||||
|
||||
if (!(Window->style & WS_CHILD) && Window->IDMenu
|
||||
&& (Menu = UserGetMenuObject((HMENU)Window->IDMenu)))
|
||||
if ( ((Window->style & (WS_CHILD|WS_POPUP)) != WS_CHILD) &&
|
||||
Window->IDMenu &&
|
||||
(Menu = UserGetMenuObject((HMENU)Window->IDMenu)))
|
||||
{
|
||||
IntDestroyMenuObject(Menu, TRUE, TRUE);
|
||||
Window->IDMenu = 0;
|
||||
|
|
Loading…
Reference in a new issue