Contents Up Previous Next

wxWizardEvent

wxWizardEvent class represents an event generated by the wizard: this event is first sent to the page itself and, if not processed there, goes up the window hierarchy as usual.

Derived from

wxNotifyEvent
wxCommandEvent
wxEvent
wxObject

Include files

<wx/wizard.h>

Event table macros

To process input from a wizard dialog, use these event handler macros to direct input to member functions that take a wxWizardEvent argument.

EVT_WIZARD_PAGE_CHANGED(id, func) The page has been just changed (this event can not be vetoed).
EVT_WIZARD_PAGE_CHANGING(id, func) The page is being changed (this event can be vetoed).
EVT_WIZARD_CANCEL(id, func) The user attempted to cancel the wizard (this event may also be vetoed).
See also

wxWizard, wxWizard sample

Members

wxWizardEvent::wxWizardEvent
wxWizardEvent::GetDirection


wxWizardEvent::wxWizardEvent

wxWizardEvent(wxEventType type = wxEVT_NULL, int id = -1, bool direction = TRUE)

Constructor. It is not normally used by the user code as the objects of this type are constructed by wxWizard.


wxWizardEvent::GetDirection

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.