X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..05e00ac5ef410707da86d98786cbb268100a7337:/wxPython/demo/ArtProvider.py 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)