m_view->SetViewRect(rect);
- m_view->Layout();
+ m_view->LayoutTabs();
// Need to do it a 2nd time to get the tab height with
// the new view width
m_view->SetViewRect(rect);
- m_view->Layout();
+ m_view->LayoutTabs();
// Move all the panels to the new view position and size
wxNode* node = m_view->GetWindows().First();