X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f94e8b87e80e782556fb4b2b1224a7c2762a5290..360be3c012c0641999ed55247a3b62ab830008c4:/wxPython/demo/wxWizard.py diff --git a/wxPython/demo/wxWizard.py b/wxPython/demo/wxWizard.py index 9c6d4830cc..1b1211a6ad 100644 --- a/wxPython/demo/wxWizard.py +++ b/wxPython/demo/wxWizard.py @@ -107,6 +107,7 @@ class TestPanel(wxPanel): EVT_WIZARD_PAGE_CHANGED(self, self.ID_wiz, self.OnWizPageChanged) EVT_WIZARD_PAGE_CHANGING(self, self.ID_wiz, self.OnWizPageChanging) EVT_WIZARD_CANCEL(self, self.ID_wiz, self.OnWizCancel) + EVT_WIZARD_FINISHED(self, self.ID_wiz, self.OnWizFinished) def OnWizPageChanged(self, evt): @@ -137,6 +138,9 @@ class TestPanel(wxPanel): wxMessageBox("Cancelling on the first page has been prevented.", "Sorry") evt.Veto() + def OnWizFinished(self, evt): + self.log.write("OnWizFinished\n") + def OnRunSimpleWizard(self, evt): # Create the wizard and the pages