]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
fix MSVC warnings about possibly uninitialized variables; some reindentation
[wxWidgets.git] / src / gtk1 / frame.cpp
index 2e3f915bee712c6d74a50a401375bfc908cd319b..94e99c07a5e50fa3a9c0e2522ceaa37d50e9f71b 100644 (file)
@@ -229,7 +229,8 @@ bool wxFrame::Create( wxWindow *parent,
 
 wxFrame::~wxFrame()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
+
     DeleteAllBars();
 }