user32: Remove MDI_AugmentFrameMenu call from WM_MDICREATE handler
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Jan 14 06:19:50 CST 2007
Hello,
since now we track maximized MDI children in WM_SIZE handler of an MDI child,
remove MDI_AugmentFrameMenu call from WM_MDICREATE handler.
This patch should fix the regression reported in the bug #7155.
Changelog:
user32: Remove MDI_AugmentFrameMenu call from WM_MDICREATE handler.
---
dlls/user32/mdi.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index 4f6844c..8288885 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -1115,12 +1115,6 @@ static LRESULT MDIClientWndProc_common( HWND hwnd, UINT message,
hwnd, 0, csA->hOwner,
(LPVOID)csA->lParam);
}
-
- if (IsZoomed(ci->hwndActiveChild))
- {
- MDI_AugmentFrameMenu(GetParent(hwnd), child);
- MDI_UpdateFrameText(GetParent(hwnd), hwnd, TRUE, NULL);
- }
return (LRESULT)child;
}
return 0;
--
1.4.4.4
More information about the wine-patches
mailing list