]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
use type safe list instead of wxList for m_columns
[wxWidgets.git] / src / common / wincmn.cpp
index 0e16d408ce83ecac3189934dc15c74b255614fab..864bb24f1a507c783f3a9bafebb4a505c02eb967 100644 (file)
@@ -305,6 +305,7 @@ bool wxWindowBase::DestroyChildren()
 
         wxASSERT_MSG( child, wxT("children list contains empty nodes") );
 
 
         wxASSERT_MSG( child, wxT("children list contains empty nodes") );
 
+        child->Show(FALSE);
         delete child;
 
         wxASSERT_MSG( !GetChildren().Find(child),
         delete child;
 
         wxASSERT_MSG( !GetChildren().Find(child),