X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d5a7477ff2ec8bea62ddc4f8221bd048f445813..80a81a12af49ab6acdaf0b62f4aa55e56f45ac6d:/wxPython/demo/wxXmlResourceHandler.py diff --git a/wxPython/demo/wxXmlResourceHandler.py b/wxPython/demo/wxXmlResourceHandler.py index dda5005d4e..1c078d95c1 100644 --- a/wxPython/demo/wxXmlResourceHandler.py +++ b/wxPython/demo/wxXmlResourceHandler.py @@ -11,7 +11,7 @@ resourceText = r''' 200,100 - + 10,10 @@ -39,7 +39,7 @@ class MyBluePanel(wxPanel): class PreMyBluePanel(wxPanel): def __init__(self): p = wxPrePanel() - self.this = p.this + self.PostCreate(p) def Create(self, parent, id, pos, size, style, name): wxPanel.Create(self, parent, id, pos, size, style, name) @@ -153,7 +153,7 @@ class TestPanel(wxPanel): sizer.Add(panel, 1, wxEXPAND|wxALL, 5) self.SetSizer(sizer) - self.SetAutoLayout(true) + self.SetAutoLayout(True) #----------------------------------------------------------------------