]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove apparently unnecessary wxAuiMDIClientWindow dtor.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 14:19:55 +0000 (14:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 Oct 2011 14:19:55 +0000 (14:19 +0000)
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

include/wx/aui/tabmdi.h
src/aui/tabmdi.cpp

index fa1fd058d574d6672f89d80896f6c70df07c1e91..053d539d381d2bb369219385efb34fc97ffbc417 100644 (file)
@@ -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);
index 8a560e75ffc3e54c6016af7096dbd91b8fdf316f..5d6859a371a6b5781e401e5a0b0fba9460957b7a 100644 (file)
@@ -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);