void wxMDIChildFrame::InternalSetMenuBar() { wxMDIParentFrame * const parent = GetMDIParent(); MDIInsertWindowMenu(parent->GetClientWindow(), m_hMenu, GetMDIWindowMenu(parent)); }
void wxMDIParentFrame::AddWindowMenu() { if ( m_windowMenu ) { // For correct handling of the events from this menu we also must // attach it to the menu bar. m_windowMenu->Attach(GetMenuBar()); MDIInsertWindowMenu(GetClientWindow(), m_hMenu, GetMDIWindowMenu(this)); } }
void wxMDIParentFrame::AddWindowMenu() { if ( m_windowMenu ) MDIInsertWindowMenu(GetClientWindow(), m_hMenu, GetMDIWindowMenu(this)); }