Merge branch 'aui-auto-uninit'
Call wxAuiManager::UnInit() automatically. Closes #14145.
This commit is contained in:
@@ -116,8 +116,6 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER);
|
||||
|
||||
~MyFrame();
|
||||
|
||||
wxAuiDockArt* GetDockArt();
|
||||
void DoUpdate();
|
||||
|
||||
@@ -1016,11 +1014,6 @@ MyFrame::MyFrame(wxWindow* parent,
|
||||
m_mgr.Update();
|
||||
}
|
||||
|
||||
MyFrame::~MyFrame()
|
||||
{
|
||||
m_mgr.UnInit();
|
||||
}
|
||||
|
||||
wxAuiDockArt* MyFrame::GetDockArt()
|
||||
{
|
||||
return m_mgr.GetArtProvider();
|
||||
|
Reference in New Issue
Block a user