$szTitle = "wxwizardpagesimple"; include "./_header.inc"; ?>
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);include "./_footer.inc"; ?>