Stop duplicating wxFrame dtor in all ports.

wxGTK1, wxGTK, wxMSW and wxOSX all did the same thing in their wxFrame dtor,
so just do it in wxFrameBase instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-07-02 13:28:29 +00:00
parent 9456ae3b91
commit e1655f5394
9 changed files with 3 additions and 37 deletions

View File

@@ -135,13 +135,6 @@ bool wxFrame::Create(wxWindow *parent,
return true;
}
wxFrame::~wxFrame()
{
SendDestroyEvent();
DeleteAllBars();
}
// ----------------------------------------------------------------------------
// wxFrame client size calculations
// ----------------------------------------------------------------------------