]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/mdi.cpp
bitmap and image updates
[wxWidgets.git] / src / msw / mdi.cpp
index fe708c0538acae5731ee83ecbc7fb583a52b249f..6e9e158a329db5cbb0dc85b97d4fc5d4b401d8ed 100644 (file)
@@ -212,6 +212,8 @@ bool wxMDIParentFrame::Create(wxWindow *parent,
 wxMDIParentFrame::~wxMDIParentFrame()
 {
     DestroyChildren();
+    // already delete by DestroyChildren()
+    m_frameToolBar = NULL;
 
     ::DestroyMenu((HMENU)m_windowMenu);
     m_windowMenu = 0;