]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/mdig.cpp
use wxVLogWarning in TIFFwxWarningHandler() instead of wxLogWarning (bug 1226815)
[wxWidgets.git] / src / generic / mdig.cpp
index ebafe05ac0b578691a3539520df0e41da22cce41..7e950d05425573cc02c7333b181b73624ee0ad62 100644 (file)
@@ -344,6 +344,7 @@ void wxGenericMDIParentFrame::DoHandleMenu(wxCommandEvent &event)
                 {
 #if 1   // What's best? Delayed deleting or immediate deleting?
                     delete m_pActiveChild;
+                    m_pActiveChild = NULL;
 #else
                     ActivateNext();