DestroyChildren();
// already delete by DestroyChildren()
m_frameToolBar = NULL;
+ m_frameStatusBar = NULL;
// ::DestroyMenu((HMENU)m_windowMenu);
if (m_windowMenu)
wxMDIChildFrame::~wxMDIChildFrame()
{
+ DestroyChildren();
+
+ // already delete by DestroyChildren()
+ m_frameToolBar = NULL;
+ m_frameStatusBar = NULL;
+
MSWDestroyWindow();
}