]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Fixed Unicode breakage
[wxWidgets.git] / src / common / toplvcmn.cpp
index dc1a79b9167607485d131bf7a440ed58a7ac392b..71bc0468d3ba3af893e7a2248ee8560176c0c147 100644 (file)
@@ -80,6 +80,9 @@ bool wxTopLevelWindowBase::Destroy()
     if ( !wxPendingDelete.Member(this) )
         wxPendingDelete.Append(this);
 
+    // but hide it immediately
+    Hide();
+
     return TRUE;
 }