mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Phoenix:
- 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:
@@ -0,0 +1,5 @@
|
||||
|
||||
page3 = wx.RadioboxPage(wizard)
|
||||
page4 = wx.ValidationPage(wizard)
|
||||
|
||||
wx.adv.WizardPageSimple.Chain(page3, page4)
|
||||
@@ -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'))
|
||||
|
||||
@@ -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::')
|
||||
|
||||
Reference in New Issue
Block a user