#include </home/zeitlin/src/wx/github/interface/wx/wizard.h>
wxWizardEvent class represents an event generated by the wxWizard: this event is first sent to the page itself and, if not processed there, goes up the window hierarchy as usual.
The following event handler macros redirect the events to member function handlers 'func' with prototypes like:
Event macros:
Public Member Functions | |
wxWizardEvent (wxEventType type=wxEVT_NULL, int id=wxID_ANY, bool direction=true, wxWizardPage *page=0) | |
Constructor. | |
bool | GetDirection () const |
Return the direction in which the page is changing: for EVT_WIZARD_PAGE_CHANGING , return true if we're going forward or false otherwise and for EVT_WIZARD_PAGE_CHANGED return true if we came from the previous page and false if we returned from the next one. | |
wxWizardPage * | GetPage () const |
Returns the wxWizardPage which was active when this event was generated. |
wxWizardEvent::wxWizardEvent | ( | wxEventType | type = wxEVT_NULL , |
int | id = wxID_ANY , |
||
bool | direction = true , |
||
wxWizardPage * | page = 0 |
||
) |
Constructor.
It is not normally used by the user code as the objects of this type are constructed by wxWizard.
bool wxWizardEvent::GetDirection | ( | ) | const |
Return the direction in which the page is changing: for EVT_WIZARD_PAGE_CHANGING
, return true if we're going forward or false otherwise and for EVT_WIZARD_PAGE_CHANGED
return true if we came from the previous page and false if we returned from the next one.
wxWizardPage* wxWizardEvent::GetPage | ( | ) | const |
Returns the wxWizardPage which was active when this event was generated.