use wxGTK_CONV instead of directly using wxConvLocal (simplifies code avoiding needle...
[wxWidgets.git] / wxPython / demo / Wizard.py
index 4ea5dbcc42b75549e718b4e0c31bd6d17ebe77b8..b06e859f93c1fdc5fcdb5b67841cd28354850b09 100644 (file)
@@ -136,6 +136,7 @@ class TestPanel(wx.Panel):
             wx.MessageBox("Cancelling on the first page has been prevented.", "Sorry")
             evt.Veto()
 
+
     def OnWizFinished(self, evt):
         self.log.write("OnWizFinished\n")
         
@@ -162,6 +163,7 @@ wxWizardPageSimple class can easily be used for the pages."""))
         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:
@@ -202,6 +204,7 @@ of the pages and also which bitmap is shown.
         page5.SetPrev(page4)
 
 
+        wizard.GetPageAreaSizer().Add(page1)
         if wizard.RunWizard(page1):
             wx.MessageBox("Wizard completed successfully", "That's all folks!")
         else: