X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..890defb4f3a0012a296c69949bf5f93075743e8f:/src/gtk1/frame.cpp diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index 2e3f915bee..94e99c07a5 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -229,7 +229,8 @@ bool wxFrame::Create( wxWindow *parent, wxFrame::~wxFrame() { - m_isBeingDeleted = true; + SendDestroyEvent(); + DeleteAllBars(); }