Commit c966c56f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

If the current menu handle is already set, do not set it again.

parent f89e1158
......@@ -296,6 +296,8 @@ static LRESULT MDISetMenu( HWND hwnd, HMENU hmenuFrame,
if (!(ci = get_client_info( hwnd ))) return 0;
if (hmenuFrame == ci->hFrameMenu) return (LRESULT)hmenuFrame;
if( IsZoomed(ci->hwndActiveChild) && hmenuFrame && hmenuFrame!= ci->hFrameMenu )
MDI_RestoreFrameMenu( hwndFrame, ci->hwndActiveChild );
......
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