]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
merged MapBitmap() from 2.2 branch
[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") );
 
+        child->Show(FALSE);
         delete child;
 
         wxASSERT_MSG( !GetChildren().Find(child),