wx.MessageBox("Cancelling on the first page has been prevented.", "Sorry")
evt.Veto()
+
def OnWizFinished(self, evt):
self.log.write("OnWizFinished\n")
wiz.WizardPageSimple_Chain(page2, page3)
wiz.WizardPageSimple_Chain(page3, page4)
+ wizard.GetPageAreaSizer().Add(page1)
if wizard.RunWizard(page1):
wx.MessageBox("Wizard completed successfully", "That's all folks!")
else:
page5.SetPrev(page4)
+ wizard.GetPageAreaSizer().Add(page1)
if wizard.RunWizard(page1):
wx.MessageBox("Wizard completed successfully", "That's all folks!")
else: