]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Dialog.py
Added some info panels that show size and colour attributes about the widget
[wxWidgets.git] / wxPython / demo / Dialog.py
index 5d5b8f0928c872c316693673d6dd24792942b627..d541467e68627a503a1a9f68058ac7fc8c4623bf 100644 (file)
@@ -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