user32: Only try to remove the MDI document icon from the frame menu when needed.
This commit is contained in:
parent
318a71fddb
commit
127512c938
|
@ -1518,7 +1518,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
|
||||||
/* do not change */
|
/* do not change */
|
||||||
TRACE("current active %p, maximized %p\n", ci->hwndActiveChild, ci->hwndChildMaximized);
|
TRACE("current active %p, maximized %p\n", ci->hwndActiveChild, ci->hwndChildMaximized);
|
||||||
|
|
||||||
if( ci->hwndActiveChild == hwnd && wParam != SIZE_MAXIMIZED )
|
if( ci->hwndChildMaximized == hwnd && wParam != SIZE_MAXIMIZED )
|
||||||
{
|
{
|
||||||
HWND frame;
|
HWND frame;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue