X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..cefae4bc3cac29222757afbd605867b34f421af9:/wxPython/demo/XmlResourceSubclass.py diff --git a/wxPython/demo/XmlResourceSubclass.py b/wxPython/demo/XmlResourceSubclass.py index 4fc5a275c4..412aa9da7c 100644 --- a/wxPython/demo/XmlResourceSubclass.py +++ b/wxPython/demo/XmlResourceSubclass.py @@ -1,7 +1,3 @@ -# 11/22/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx import wx.xrc as xrc @@ -18,7 +14,7 @@ resourceText = r''' 200,100 - @@ -90,7 +86,7 @@ def runTest(frame, nb, log): overview = """ -

wxXmlResourceSubclass

+

wx.XmlResourceSubclass

Sometimes it is necessary to use custom classes, but you still want them to be created from XRC. The subclass XRC attribute allows you to @@ -104,5 +100,5 @@ do that. 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:])