mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Fixes for better integration with the existing wxScrolledWindow and wxScrolledCanvas docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,18 +87,14 @@ def run():
|
||||
item.docAsClass = True
|
||||
item.bases = ['wxPanel', 'wxScrolled']
|
||||
item.briefDoc = docBase.format(name='ScrolledWindow', base='Panel')
|
||||
item.briefDoc += """
|
||||
Since this class derives from :ref:`Panel` it shares its behavior
|
||||
with regard to TAB traversal and focus handling. If you do not want
|
||||
this then use :ref:`ScrolledCanvas` instead."""
|
||||
|
||||
item = module.find('wxScrolledCanvas')
|
||||
item.docAsClass = True
|
||||
item.bases = ['wxWindow', 'wxScrolled']
|
||||
item.briefDoc = docBase.format(name='ScrolledCanvas', base='Window')
|
||||
item.briefDoc += """
|
||||
This scrolled window is not intended to have children so it doesn't
|
||||
have special handling for TAB traversal or focus management."""
|
||||
item.detailedDoc[0] = "This scrolled window is not intended to have children "\
|
||||
"so it doesn't have special handling for TAB traversal "\
|
||||
"or focus management."
|
||||
|
||||
|
||||
else:
|
||||
|
||||
@@ -3226,7 +3226,6 @@ class SphinxGenerator(generators.DocsGeneratorBase):
|
||||
typedef.subClasses = []
|
||||
typedef.method_list = typedef.property_list = []
|
||||
typedef.pyDocstring = typedef.briefDoc
|
||||
typedef.detailedDoc = ''
|
||||
|
||||
self.current_class = typedef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user