#include "test.h"
// If 1, use a dialog. Otherwise use a frame.
-#define USE_TABBED_DIALOG 0
+#define USE_TABBED_DIALOG 1
MyDialog* dialog = (MyDialog *) NULL;
MyFrame* frame = (MyFrame *) NULL;
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();