-void wxNotebook::OnSize(wxSizeEvent& event)
-{
- // forward this event to all pages
- wxNode *node = m_pages.First();
- while (node)
- {
- wxWindow *page = ((wxNotebookPage*)node->Data())->m_client;
- // @@@@ the numbers I substract here are completely arbitrary, instead we
- // should somehow calculate the size of the page from the size of the
- // notebook
-/* page->SetSize(event.GetSize().GetX() - 5,
- event.GetSize().GetY() - 30);
-
- if ( page->GetAutoLayout() )
- page->Layout();
-*/
- node = node->Next();
- };
-}
-