git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43436
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxSizer* sizer;
int i, pane_count = m_panes.GetCount();
wxSizer* sizer;
int i, pane_count = m_panes.GetCount();
- // delete old sizer first
- m_frame->SetSizer(NULL);
// destroy floating panes which have been
// redocked or are becoming non-floating
// destroy floating panes which have been
// redocked or are becoming non-floating
+ // delete old sizer first
+ m_frame->SetSizer(NULL);
+
// create a layout for all of the panes
sizer = LayoutAll(m_panes, m_docks, m_uiparts, false);
// create a layout for all of the panes
sizer = LayoutAll(m_panes, m_docks, m_uiparts, false);