+ SetExtraStyle(wxWIZARD_EX_HELPBUTTON);
+
+ Create(frame,wxID_ANY,wxT("Absolutely Useless Wizard"),
+ wxBitmap(wiztest_xpm),wxDefaultPosition,
+ wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
+ SetIcon(wxICON(sample));
+
+ // Allow the bitmap to be expanded to fit the page height
+ if (frame->GetMenuBar()->IsChecked(Wizard_ExpandBitmap))
+ SetBitmapPlacement(wxWIZARD_VALIGN_CENTRE);
+
+ // Enable scrolling adaptation
+ if (frame->GetMenuBar()->IsChecked(Wizard_LargeWizard))
+ SetLayoutAdaptationMode(wxDIALOG_ADAPTATION_MODE_ENABLED);