]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/dialog_osx.cpp
fix wxGTK1 compilation after wxTextEntry DoGetValue() change
[wxWidgets.git] / src / osx / dialog_osx.cpp
index fabbf006871142fa909891f04e34508cf916b143..fbc3ce67e21b7a9daec0ca583aeadecf42cf7294 100644 (file)
@@ -71,7 +71,7 @@ void wxDialog::SetModal( bool flag )
 
 wxDialog::~wxDialog()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
 
     // if the dialog is modal, this will end its event loop
     Show(false);