wxWizardPageSimple is the simplest possible wxWizardPage implementation: it just returns the pointers given to its constructor from GetNext() and GetPrev() functions.
This makes it very easy to use the objects of this class in the wizards where the pages order is known statically - on the other hand, if this is not the case you must derive your own class from wxWizardPage instead.
Derived from
wxWizardPage
wxPanel
wxWindow
wxEvtHandler
wxObject
Include files
<wx/wizard.h>
See also
Members
wxWizardPageSimple::wxWizardPageSimple
wxWizardPageSimple::SetPrev
wxWizardPageSimple::SetNext
wxWizardPageSimple::Chain
wxWizardPageSimple(wxWizard* parent = NULL, wxWizardPage* prev = NULL, wxWizardPage* next = NULL, const wxBitmap& bitmap = wxNullBitmap)
Constructor takes the previous and next pages. They may be modified later by SetPrev() or SetNext().
void SetPrev(wxWizardPage* prev)
Sets the previous page.
void SetNext(wxWizardPage* next)
Sets the next page.
static void Chain(wxWizardPageSimple* first, wxWizardPageSimple* second)
A convenience function to make the pages follow each other.
Example:
wxRadioboxPage *page3 = new wxRadioboxPage(wizard); wxValidationPage *page4 = new wxValidationPage(wizard); wxWizardPageSimple::Chain(page3, page4);