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:
@@ -165,7 +165,9 @@ wxFrameBase::wxFrameBase()
|
||||
|
||||
wxFrameBase::~wxFrameBase()
|
||||
{
|
||||
// this destructor is required for Darwin
|
||||
SendDestroyEvent();
|
||||
|
||||
DeleteAllBars();
|
||||
}
|
||||
|
||||
wxFrame *wxFrameBase::New(wxWindow *parent,
|
||||
|
||||
Reference in New Issue
Block a user