git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29924
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxMDIParentFrame::~wxMDIParentFrame()
{
DestroyChildren();
wxMDIParentFrame::~wxMDIParentFrame()
{
DestroyChildren();
- // already delete by DestroyChildren()
-#if wxUSE_TOOLBAR
- m_frameToolBar = NULL;
-#endif
-#if wxUSE_STATUSBAR
- m_frameStatusBar = NULL;
-#endif
+ // already deleted by DestroyChildren()
- if (m_windowMenu)
- {
- delete m_windowMenu;
- m_windowMenu = (wxMenu*) NULL;
- }
-
- if ( m_clientWindow )
- {
- delete m_clientWindow;
- m_clientWindow = NULL ;
- }
if(mdiparent->m_currentChild == this)
mdiparent->m_currentChild = NULL;
DestroyChildren();
if(mdiparent->m_currentChild == this)
mdiparent->m_currentChild = NULL;
DestroyChildren();
- // already delete by DestroyChildren()
-#if wxUSE_TOOLBAR
- m_frameToolBar = NULL;
-#endif
-#if wxUSE_STATUSBAR
- m_frameStatusBar = NULL;
-#endif
}
void wxMDIChildFrame::SetMenuBar(wxMenuBar *menu_bar)
}
void wxMDIChildFrame::SetMenuBar(wxMenuBar *menu_bar)