]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
Allow entering minus sign in wxMSW wxSpinCtrl if needed.
[wxWidgets.git] / src / gtk / frame.cpp
index 118148b185df88eded61f1ddc1d8fd20714da2b4..82c8f1ec54d85681c913fa47199ce51e52b1497d 100644 (file)
@@ -56,7 +56,8 @@ bool wxFrame::Create( wxWindow *parent,
 
 wxFrame::~wxFrame()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
+
     DeleteAllBars();
 }
 
@@ -162,7 +163,7 @@ static wxAcceleratorTable wxCreateAcceleratorTableForMenuBar(wxMenuBar* menuBar)
         wxAcceleratorEntry* entry = (wxAcceleratorEntry*) accelEntries.Item(i)->GetData();
         entries[i] = (*entry);
         delete entry;
-        
+
     }
 
     wxAcceleratorTable table(n, entries);