Commit 127512c9 authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard

user32: Only try to remove the MDI document icon from the frame menu when needed.

parent 318a71fd
......@@ -1518,7 +1518,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
/* do not change */
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment