]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/nonownedwnd_osx.cpp
add accessors for sockaddr to wxSockAddress (closes #10511)
[wxWidgets.git] / src / osx / nonownedwnd_osx.cpp
index d8b9e02ce7392fb6c64adc976b5a134404e8aa84..39d569c003d974750d429303fd44522c6ac1ec5d 100644 (file)
@@ -13,6 +13,7 @@
 
 #ifndef WX_PRECOMP
     #include "wx/app.h"
+    #include "wx/log.h"
 #endif // WX_PRECOMP
 
 #include "wx/hashmap.h"
@@ -151,7 +152,7 @@ bool wxNonOwnedWindow::Create(wxWindow *parent,
 
 wxNonOwnedWindow::~wxNonOwnedWindow()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
     
     wxRemoveWXWindowAssociation( this ) ;