]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Wizard.py
updated to wx namespace by Peter Damoc
[wxWidgets.git] / wxPython / demo / Wizard.py
index a2f98142da621cdabac2f32cb43cba1af5a24e9c..4ea5dbcc42b75549e718b4e0c31bd6d17ebe77b8 100644 (file)
@@ -10,8 +10,8 @@ def makePageTitle(wizPg, title):
     wizPg.SetSizer(sizer)
     title = wx.StaticText(wizPg, -1, title)
     title.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD))
-    sizer.AddWindow(title, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
-    sizer.AddWindow(wx.StaticLine(wizPg, -1), 0, wx.EXPAND|wx.ALL, 5)
+    sizer.Add(title, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
+    sizer.Add(wx.StaticLine(wizPg, -1), 0, wx.EXPAND|wx.ALL, 5)
     return sizer
 
 #----------------------------------------------------------------------