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

This commit is contained in:
Peter Oberndorfer 2007-01-22 20:38:24 +01:00 committed by Alexandre Julliard
parent 318a71fddb
commit 127512c938
1 changed files with 1 additions and 1 deletions

View File

@ -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;