wxWizardPageSimple

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

wxWizard, wxWizard sample



wxWizardPageSimple::wxWizardPageSimple



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().



wxWizardPageSimple::SetPrev



void SetPrev(wxWizardPage* prev)

Sets the previous page.



wxWizardPageSimple::SetNext



void SetNext(wxWizardPage* next)

Sets the next page.



wxWizardPageSimple::Chain



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);

ymasuda 平成17年11月19日