X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..05e4fd64c4c7141f1a028020584755bad7291d02:/wxPython/demo/XmlResourceHandler.py diff --git a/wxPython/demo/XmlResourceHandler.py b/wxPython/demo/XmlResourceHandler.py index 2098c5da41..b15defd373 100644 --- a/wxPython/demo/XmlResourceHandler.py +++ b/wxPython/demo/XmlResourceHandler.py @@ -1,13 +1,3 @@ -# 11/22/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# o There are issues using the wx namespace within the xrc code. -# -# 11/30/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Error report: "Error: No handler found for XML node 'object', -# class 'wx.StaticText'!"; no text shows on panel. -# import wx import wx.xrc as xrc @@ -21,7 +11,7 @@ resourceText = r''' 200,100 - + 10,10 @@ -177,9 +167,9 @@ def runTest(frame, nb, log): overview = """ -

wxXmlResourceHandler

+

wx.XmlResourceHandler

-Deriving a class from wxXmlResourceHandler allows you to specify your +Deriving a class from wx.XmlResourceHandler allows you to specify your own classes in XRC resources, and your handler class will then be used to create instances of that class when the resource is loaded.