]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
convert COM arguments to wx lazily to improve performance and allow calling Invoke...
[wxWidgets.git] / src / msw / frame.cpp
index c81d5c65730c7fb1903e3c10777d07adf4efccbc..bf2b9dbac88a98330cdbed82c205faca4e662ae4 100644 (file)
@@ -209,7 +209,8 @@ bool wxFrame::Create(wxWindow *parent,
 
 wxFrame::~wxFrame()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
+
     DeleteAllBars();
 }