Merged the wxPy_newswig branch into the HEAD branch (main trunk)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-11-12 21:34:20 +00:00
parent eb6a4098a0
commit d14a1e2856
987 changed files with 671143 additions and 783083 deletions

View File

@@ -1,6 +1,6 @@
from wxPython.wx import *
from wxPython.help import *
##from wxPython.help import *
#---------------------------------------------------------------------------
# Create and set a help provider. Normally you would do this in
@@ -28,10 +28,7 @@ class TestDialog(wxDialog):
# 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.thisown = pre.thisown
pre.thisown = 0
self.PostCreate(pre)
# Now continue with the normal construction of the dialog
# contents
@@ -83,7 +80,7 @@ class TestDialog(wxDialog):
btn.SetHelpText("The Cancel button cnacels the dialog. (Duh!)")
box.Add(btn, 0, wxALIGN_CENTRE|wxALL, 5)
sizer.AddSizer(box, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5)
sizer.Add(box, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5)
self.SetSizer(sizer)
self.SetAutoLayout(True)