git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34989
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
private:
bool m_needsInitialShow; // Show must be called in idle time after Creation
bool m_needsResize; // flag which tells us to artificially resize the frame
+ virtual void DetachMenuBar() ;
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS_NO_COPY(wxMDIChildFrame)
parent->m_parentFrameActive = false;
}
+void wxMDIChildFrame::DetachMenuBar()
+{
+ RemoveWindowMenu(NULL, m_hMenu);
+ wxFrame::DetachMenuBar();
+}
+
WXHICON wxMDIChildFrame::GetDefaultIcon() const
{
// we don't have any standard icons (any more)
continue;
}
- if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Window")) )
- {
- success = true;
- break;
- }
if ( wxStripMenuCodes(wxString(buf)).IsSameAs(_("Help")) )
{