wxEVT_WIZARD_PAGE_CHANGED,
wxEVT_WIZARD_PAGE_CHANGING,
wxEVT_WIZARD_CANCEL,
- wxEVT_WIZARD_HELP
+ wxEVT_WIZARD_HELP,
+ wxEVT_WIZARD_FINISHED
};
def EVT_WIZARD_HELP(win, id, func):
win.Connect(id, -1, wxEVT_WIZARD_HELP, func)
+def EVT_WIZARD_FINISHED(win, id, func):
+ win.Connect(id, -1, wxEVT_WIZARD_FINISHED, func)
+
"
//----------------------------------------------------------------------
int id = -1,
const wxString& title = wxEmptyString,
const wxBitmap& bitmap = wxNullBitmap,
- const wxPoint& pos = wxDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition,
+ long style = wxDEFAULT_DIALOG_STYLE);
%name(wxPreWizard)wxWizard();
%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
// default)
virtual void FitToPage(const wxWizardPage *firstPage);
+ // Adding pages to page area sizer enlarges wizard
+ virtual wxSizer *GetPageAreaSizer() const;
+
+ // 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);
+
// is the wizard running?
bool IsRunning() const { return m_page != NULL; }
// page first and return FALSE without changing the page if
// TransferDataFromWindow() returns FALSE - otherwise, returns TRUE
bool ShowPage(wxWizardPage *page, bool goingForward = TRUE);
+
+ bool HasNextPage(wxWizardPage* page);
+ bool HasPrevPage(wxWizardPage* page);
};
//----------------------------------------------------------------------
%init %{
- wxClassInfo::CleanUpClasses();
- wxClassInfo::InitializeClasses();
%}
//----------------------------------------------------------------------