-void wxWizard::FinishLayout()
-{
- bool isPda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA);
-
- // Set to enable wxWizardSizer::GetMaxChildSize
- m_started = true;
-
- m_sizerBmpAndPage->Add(
- m_sizerPage,
- 1, // Horizontal stretching
- wxEXPAND | wxALL, // Vertically stretchable
- m_sizerPage->GetBorder()
- );
-
- if (!isPda)
- {
- GetSizer()->SetSizeHints(this);
- if ( m_posWizard == wxDefaultPosition )
- CentreOnScreen();
- }
-
- // now that our layout is computed correctly, hide the pages artificially
- // shown in wxWizardSizer::Insert() back again
- m_sizerPage->HidePages();
-}
-