Remove apparently unnecessary wxAuiMDIClientWindow dtor.
This dtor doesn't seem to do anything useful as the base class dtor already destroys all window children anyhow and removing it is reported to fix some crashes in wxAUI (which is surprising and probably hides some other bug...). Closes #13547. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
05f4dfa726
commit
74e0e33a85
@ -244,7 +244,6 @@ class WXDLLIMPEXP_AUI wxAuiMDIClientWindow : public wxAuiNotebook
|
||||
public:
|
||||
wxAuiMDIClientWindow();
|
||||
wxAuiMDIClientWindow(wxAuiMDIParentFrame *parent, long style = 0);
|
||||
~wxAuiMDIClientWindow();
|
||||
|
||||
virtual bool CreateClient(wxAuiMDIParentFrame *parent,
|
||||
long style = wxVSCROLL | wxHSCROLL);
|
||||
|
@ -725,11 +725,6 @@ wxAuiMDIClientWindow::wxAuiMDIClientWindow(wxAuiMDIParentFrame* parent, long sty
|
||||
CreateClient(parent, style);
|
||||
}
|
||||
|
||||
wxAuiMDIClientWindow::~wxAuiMDIClientWindow()
|
||||
{
|
||||
DestroyChildren();
|
||||
}
|
||||
|
||||
bool wxAuiMDIClientWindow::CreateClient(wxAuiMDIParentFrame* parent, long style)
|
||||
{
|
||||
SetWindowStyleFlag(style);
|
||||
|
Loading…
Reference in New Issue
Block a user