+ /*
+ The derived class (i.e. the real wxWizard) has a ctor and Create()
+ function taking the following arguments:
+
+ wxWizard(wxWindow *parent,
+ int id = -1,
+ const wxString& title = wxEmptyString,
+ const wxBitmap& bitmap = wxNullBitmap,
+ const wxPoint& pos = wxDefaultPosition,
+ long style = wxDEFAULT_DIALOG_STYLE);
+ */
+ wxWizardBase() { }
+
+ // executes the wizard starting from the given page, returns TRUE if it was
+ // successfully finished, FALSE if user cancelled it
+ virtual bool RunWizard(wxWizardPage *firstPage) = 0;
+
+ // get the current page (NULL if RunWizard() isn't running)
+ virtual wxWizardPage *GetCurrentPage() const = 0;
+
+ // set the min size which should be available for the pages: a
+ // wizard will take into account the size of the bitmap (if any)
+ // itself and will never be less than some predefined fixed size
+ virtual void SetPageSize(const wxSize& size) = 0;
+
+ // get the size available for the page
+ virtual wxSize GetPageSize() const = 0;
+
+ // set the best size for the wizard, i.e. make it big enough to contain all
+ // of the pages starting from the given one
+ //
+ // this function may be called several times and possible with different
+ // pages in which case it will only increase the page size if needed (this
+ // may be useful if not all pages are accessible from the first one by
+ // default)
+ virtual void FitToPage(const wxWizardPage *firstPage) = 0;
+
+ // Adding pages to page area sizer enlarges wizard
+ virtual wxSizer *GetPageAreaSizer() const = 0;
+
+ // Set border around page area. Default is 0 if you add at least one
+ // page to GetPageAreaSizer and 5 if you don't.
+ virtual void SetBorder(int border) = 0;
+
+ // wxWizard should be created using "new wxWizard" now, not with Create()
+#if WXWIN_COMPATIBILITY_2_2