X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..5adad46628e545a6d4172ecf3a0cb848934f5cd0:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 0e16d408ce..864bb24f1a 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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),