Skip to content
Snippets Groups Projects
Commit 127512c9 authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard
Browse files

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

parent 318a71fd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment