Module: wine Branch: master Commit: 127512c938f543d81e524546e561b8bf9945d8e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=127512c938f543d81e524546e5...
Author: Peter Oberndorfer kumbayo84@arcor.de Date: Mon Jan 22 20:38:24 2007 +0100
user32: Only try to remove the MDI document icon from the frame menu when needed.
---
dlls/user32/mdi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index f8bb8f8..dace1e8 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -1518,7 +1518,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hw /* 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;