]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
preserve type when loaded image is rescaled, #11543
[wxWidgets.git] / src / motif / frame.cpp
index 184daa28e0920503a1c1d104839eb3bcbc472545..c32ec0a0f4c5bbdbe128a8381e4c166e20bb6a60 100644 (file)
@@ -253,7 +253,7 @@ bool wxFrame::XmDoCreateTLW(wxWindow* WXUNUSED(parent),
 
 wxFrame::~wxFrame()
 {
-    m_isBeingDeleted = true;
+    SendDestroyEvent();
 
     if (m_clientArea)
     {
@@ -508,7 +508,7 @@ void wxFrame::SetMenuBar(wxMenuBar *menuBar)
     }
 
     // Currently can't set it twice
-    //    wxASSERT_MSG( (m_frameMenuBar == (wxMenuBar*) NULL), "Cannot set the menubar more than once");
+    //    wxASSERT_MSG( (m_frameMenuBar == NULL), "Cannot set the menubar more than once");
 
     if (m_frameMenuBar)
     {