projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix
[wxWidgets.git]
/
wxPython
/
demo
/
wxXmlResourceHandler.py
diff --git
a/wxPython/demo/wxXmlResourceHandler.py
b/wxPython/demo/wxXmlResourceHandler.py
index dda5005d4efd644e38745327991bfa92cfd35194..87d859844723db3b26de15e82ad9b987682de915 100644
(file)
--- a/
wxPython/demo/wxXmlResourceHandler.py
+++ b/
wxPython/demo/wxXmlResourceHandler.py
@@
-11,7
+11,7
@@
resourceText = r'''<?xml version="1.0"?>
<object class="MyBluePanel" name="MyPanel">
<size>200,100</size>
<object class="MyBluePanel" name="MyPanel">
<size>200,100</size>
- <object class="wxStaticText" name="lab
le1
">
+ <object class="wxStaticText" name="lab
el1" subclass="wxPython.wx.wxPreStaticText
">
<label>This blue panel is a class derived from wxPanel,\nand is loaded by a custom wxXmlResourceHandler.</label>
<pos>10,10</pos>
</object>
<label>This blue panel is a class derived from wxPanel,\nand is loaded by a custom wxXmlResourceHandler.</label>
<pos>10,10</pos>
</object>
@@
-153,7
+153,7
@@
class TestPanel(wxPanel):
sizer.Add(panel, 1, wxEXPAND|wxALL, 5)
self.SetSizer(sizer)
sizer.Add(panel, 1, wxEXPAND|wxALL, 5)
self.SetSizer(sizer)
- self.SetAutoLayout(
t
rue)
+ self.SetAutoLayout(
T
rue)
#----------------------------------------------------------------------
#----------------------------------------------------------------------