- Add support for `wx.adv.Wizard` and its related classes.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Andrea Gavana
2012-06-10 21:08:29 +00:00
parent b364c33912
commit 9233e2747b
3 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
page3 = wx.RadioboxPage(wizard)
page4 = wx.ValidationPage(wizard)
wx.adv.WizardPageSimple.Chain(page3, page4)

View File

@@ -1041,8 +1041,10 @@ class Section(Node):
# Special treatment for the versionadded
if len(text) > 6:
version, remainder = text[0:6], text[6:]
if '.' in version:
text = '%s\n%s%s'%(version, sub_spacer, remainder)
elif section_type == 'deprecated':
# Special treatment for deprecated, wxWidgets devs do not put the version number
text = '%s\n%s%s'%(VERSION, sub_spacer, text.lstrip('Deprecated'))

View File

@@ -151,6 +151,10 @@ def BuildEnumsAndMethods(sphinxDir):
text = text.replace(',,', ',').replace(', ,', ',')
text = text.replace('|wx', '|')
# Replacements for ScrolledWindow and ScrolledCanvas...
text = text.replace('<wxWindow>', 'Window')
text = text.replace('<wxPanel>', 'Panel')
if 'DocstringsGuidelines' not in input:
# Leave the DocstringsGuidelines.txt file alone on these ones
text = text.replace(':note:', '.. note::')