void OnAbout(wxCommandEvent& event);
void OnRunWizard(wxCommandEvent& event);
void OnWizardCancel(wxWizardEvent& event);
+ void OnWizardFinished(wxWizardEvent& event);
private:
// any class wishing to process wxWindows events must use this macro
EVT_MENU(Wizard_Run, MyFrame::OnRunWizard)
EVT_WIZARD_CANCEL(-1, MyFrame::OnWizardCancel)
+ EVT_WIZARD_FINISHED(-1, MyFrame::OnWizardFinished)
END_EVENT_TABLE()
BEGIN_EVENT_TABLE(wxRadioboxPage, wxWizardPageSimple)
wizard->Destroy();
}
+void MyFrame::OnWizardFinished(wxWizardEvent& WXUNUSED(event))
+{
+ wxLogStatus(this, wxT("The wizard finished successfully."));
+}
+
void MyFrame::OnWizardCancel(wxWizardEvent& WXUNUSED(event))
{
wxLogStatus(this, wxT("The wizard was cancelled."));