X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8eca4fef106b8327e2e55636de3f68a511a4c392..49bffb1482cd2a6a30b38280f6c9bffc72dbfe42:/wxPython/demo/Dialog.py diff --git a/wxPython/demo/Dialog.py b/wxPython/demo/Dialog.py index 5d5b8f0928..d541467e68 100644 --- a/wxPython/demo/Dialog.py +++ b/wxPython/demo/Dialog.py @@ -26,7 +26,7 @@ class TestDialog(wx.Dialog): # This next step is the most important, it turns this Python # object into the real wrapper of the dialog (instead of pre) # as far as the wxPython extension is concerned. - self.this = pre.this + self.PostCreate(pre) # Now continue with the normal construction of the dialog # contents