Merge pull request #1330 from wxWidgets/fix-issue1328

fix typo in auibar docstring

(cherry picked from commit f2d1890bd5)
This commit is contained in:
Robin Dunn
2019-08-21 19:15:59 -07:00
committed by Robin Dunn
parent bd55467e6d
commit d7508fe463

View File

@@ -12,13 +12,15 @@
# Tags: phoenix-port, unittest, documented, py3-port
#----------------------------------------------------------------------------
"""
`auibar.py` contains an implementation of :class:`~wx.lib.agw.aui.auibar.AuiToolBar`, which is a completely owner-drawn
toolbar perfectly integrated with the AUI layout system. This allows drag and drop of
toolbars, docking/floating behaviour and the possibility to define "overflow" items
in the toolbar itself.
`auibar.py` contains an implementation of
:class:`~wx.lib.agw.aui.auibar.AuiToolBar`, which is a completely owner-drawn
toolbar perfectly integrated with the AUI layout system. This allows drag and
drop of toolbars, docking/floating behaviour and the possibility to define
"overflow" items in the toolbar itself.
The default theme that is used is :class:`AuiToolBar`, which provides a modern,
glossy look and feel. The theme can be changed by calling :meth:`AuiToolBar.SetArtProvider`.
glossy look and feel. The theme can be changed by calling
:meth:`AuiToolBar.SetArtProvider`.
"""
__author__ = "Andrea Gavana <andrea.gavana@gmail.com>"
@@ -1737,7 +1739,7 @@ class AuiToolBar(wx.Control):
def AddSimpleTool(self, tool_id, label, bitmap, short_help_string="", kind=ITEM_NORMAL, target=None):
"""
Adds a tool to the toolbar. This is the simplest method you can use to
ass an item to the :class:`AuiToolBar`.
add an item to the :class:`AuiToolBar`.
:param integer `tool_id`: an integer by which the tool may be identified in subsequent operations;
:param string `label`: the toolbar tool label;