Use PostCreate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,7 +26,7 @@ class TestDialog(wx.Dialog):
|
|||||||
# This next step is the most important, it turns this Python
|
# This next step is the most important, it turns this Python
|
||||||
# object into the real wrapper of the dialog (instead of pre)
|
# object into the real wrapper of the dialog (instead of pre)
|
||||||
# as far as the wxPython extension is concerned.
|
# as far as the wxPython extension is concerned.
|
||||||
self.this = pre.this
|
self.PostCreate(pre)
|
||||||
|
|
||||||
# Now continue with the normal construction of the dialog
|
# Now continue with the normal construction of the dialog
|
||||||
# contents
|
# contents
|
||||||
|
Reference in New Issue
Block a user