#include <wx/wizard.h>

wxWizardPageSimple is the simplest possible wxWizardPage implementation: it just returns the pointers given to its constructor from wxWizardPage::GetNext() and wxWizardPage::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.
Public Member Functions | |
| wxWizardPageSimple (wxWizard *parent, wxWizardPage *prev=NULL, wxWizardPage *next=NULL, const wxBitmap &bitmap=wxNullBitmap) | |
| Constructor takes the previous and next pages. | |
| void | SetNext (wxWizardPage *next) |
| Sets the next page. | |
| void | SetPrev (wxWizardPage *prev) |
| Sets the previous page. | |
Static Public Member Functions | |
| static void | Chain (wxWizardPageSimple *first, wxWizardPageSimple *second) |
| A convenience function to make the pages follow each other. | |
| wxWizardPageSimple::wxWizardPageSimple | ( | wxWizard * | parent, | |
| wxWizardPage * | prev = NULL, |
|||
| wxWizardPage * | next = NULL, |
|||
| const wxBitmap & | bitmap = wxNullBitmap | |||
| ) |
| static void wxWizardPageSimple::Chain | ( | wxWizardPageSimple * | first, | |
| wxWizardPageSimple * | second | |||
| ) | [static] |
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);
| void wxWizardPageSimple::SetNext | ( | wxWizardPage * | next | ) |
Sets the next page.
| void wxWizardPageSimple::SetPrev | ( | wxWizardPage * | prev | ) |
Sets the previous page.
|
[ top ] |