X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..2706d2fedee4cfc34ba0c838bd157bc0d9718ce1:/wxPython/demo/ArtProvider.py diff --git a/wxPython/demo/ArtProvider.py b/wxPython/demo/ArtProvider.py index 02b326680e..8eb6db4131 100644 --- a/wxPython/demo/ArtProvider.py +++ b/wxPython/demo/ArtProvider.py @@ -1,7 +1,3 @@ -# 11/15/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import cStringIO import wx @@ -159,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) @@ -225,21 +221,21 @@ def runTest(frame, nb, log): overview = """
-This class can also be used to get the platform native icons as -provided by wxArtProvider_GetBitmap or wxArtProvider_GetIcon methods. +provided by wx.ArtProvider_GetBitmap or wx.ArtProvider_GetIcon methods. """ @@ -853,7 +849,7 @@ V\xab\x95\xb2\xd9,y<\x1e2\x18\x0c\x8ak\xb5Z-9\x9dN*\x14\n\xdf\x9e\x9c$@*\x95\ if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])