]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/nonownedwnd_osx.cpp
bring in the definition of wxSizer, making non-precomp builds working again after...
[wxWidgets.git] / src / osx / nonownedwnd_osx.cpp
index d8b9e02ce7392fb6c64adc976b5a134404e8aa84..2a6f1cf0057a0404f444138f12e405ec4a14d3e0 100644 (file)
@@ -151,7 +151,7 @@ bool wxNonOwnedWindow::Create(wxWindow *parent,
 
 wxNonOwnedWindow::~wxNonOwnedWindow()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
     
     wxRemoveWXWindowAssociation( this ) ;