diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index 9cfba2f987..1724d6d0f3 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -419,6 +419,9 @@ void wxFrame::SetMenuBar(wxMenuBar *menu_bar) if (!menu_bar) { DetachMenuBar(); + //actually remove the menu from the frame + m_hMenu=NULL; + InternalSetMenuBar(); return; }