X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/Wizard.py diff --git a/wxPython/demo/Wizard.py b/wxPython/demo/Wizard.py index a2f98142da..4ea5dbcc42 100644 --- a/wxPython/demo/Wizard.py +++ b/wxPython/demo/Wizard.py @@ -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 #----------------------------------------------------------------------