#---------------------------------------------------------------------------
# Create and set a help provider. Normally you would do this in
#---------------------------------------------------------------------------
# Create and set a help provider. Normally you would do this in
# 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.
# 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.
btn.SetHelpText("The Cancel button cnacels the dialog. (Duh!)")
box.Add(btn, 0, wxALIGN_CENTRE|wxALL, 5)
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)