X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..fdc1a8be8f21f22c19f948a1b05fc9a5e078d17c:/wxPython/demo/wxXmlResourceHandler.py diff --git a/wxPython/demo/wxXmlResourceHandler.py b/wxPython/demo/wxXmlResourceHandler.py index 87d8598447..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)