X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0a91b519da0364d32dcafa2d4259ca9ecff9e68..2ddb8ccf6058826262512539142ec5eda7358b74:/src/msw/frame.cpp diff --git a/src/msw/frame.cpp b/src/msw/frame.cpp index c81d5c6573..bf2b9dbac8 100644 --- a/src/msw/frame.cpp +++ b/src/msw/frame.cpp @@ -209,7 +209,8 @@ bool wxFrame::Create(wxWindow *parent, wxFrame::~wxFrame() { - m_isBeingDeleted = true; + SendDestroyEvent(); + DeleteAllBars(); }