-# 11/22/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import wx
import wx.xrc as xrc
<object class="wxPanel" subclass="XmlResourceSubclass.MyBluePanel" name="MyPanel">
<size>200,100</size>
<object class="wxStaticText" name="label1">
- <label>This blue panel is a class derived from wxPanel
+ <label>This blue panel is a class derived from wx.Panel
and is loaded by a using a subclass attribute of the object tag.</label>
<pos>10,10</pos>
</object>
overview = """<html><body>
-<h2><center>wxXmlResourceSubclass</center></h2>
+<h2><center>wx.XmlResourceSubclass</center></h2>
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
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:])