#include </home/zeitlin/src/wx/github/interface/wx/wizard.h>
Inheritance diagram for wxWizardPageSimple: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 () | |
| Default constructor. | |
| wxWizardPageSimple (wxWizard *parent, wxWizardPage *prev=NULL, wxWizardPage *next=NULL, const wxBitmap &bitmap=wxNullBitmap) | |
| Constructor takes the previous and next pages. | |
| bool | Create (wxWizard *parent=NULL, wxWizardPage *prev=NULL, wxWizardPage *next=NULL, const wxBitmap &bitmap=wxNullBitmap) |
| Creates the wizard page. | |
| 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 | ( | ) |
Default constructor.
| 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.
例:
wxRadioboxPage *page3 = new wxRadioboxPage(wizard); wxValidationPage *page4 = new wxValidationPage(wizard); wxWizardPageSimple::Chain(page3, page4);
| bool wxWizardPageSimple::Create | ( | wxWizard * | parent = NULL, |
| wxWizardPage * | prev = NULL, |
||
| wxWizardPage * | next = NULL, |
||
| const wxBitmap & | bitmap = wxNullBitmap |
||
| ) |
Creates the wizard page.
Must be called if the default constructor had been used to create the object.
| void wxWizardPageSimple::SetNext | ( | wxWizardPage * | next | ) |
Sets the next page.
| void wxWizardPageSimple::SetPrev | ( | wxWizardPage * | prev | ) |
Sets the previous page.