X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..498fbcb4f5b95aae02ca5b69d1fa5550d113fa42:/wxPython/demo/ArtProvider.py?ds=sidebyside diff --git a/wxPython/demo/ArtProvider.py b/wxPython/demo/ArtProvider.py index e0ce3ba9db..8eb6db4131 100644 --- a/wxPython/demo/ArtProvider.py +++ b/wxPython/demo/ArtProvider.py @@ -155,7 +155,7 @@ class TestPanel(wx.Panel): text = wx.StaticText(self, -1, "48x48") box.Add(text, 0, wx.ALIGN_CENTRE|wx.ALL, 5) - fgs.AddSizer(box, 0, wx.ALIGN_CENTRE|wx.ALL, 5) + fgs.Add(box, 0, wx.ALIGN_CENTRE|wx.ALL, 5) sizer.Add(fgs, 0, wx.ALL, 5) self.SetSizer(sizer)