mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
Merge pull request #948 from SimoB/patch-1
Missing tool_id parameter in AddToggleTool
This commit is contained in:
@@ -86,6 +86,9 @@ Changes in this release include the following:
|
||||
|
||||
* Fix TypeError in wx.lib.throbber. (#924)
|
||||
|
||||
* Fix missing parameter tool_id in
|
||||
wx.lib.agw.ribbon.toolbar.RibbonToolBar.AddToggleTool. (#947)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -297,7 +297,7 @@ class RibbonToolBar(RibbonControl):
|
||||
return self.InsertTool(pos, tool_id, bitmap, wx.NullBitmap, help_string, RIBBON_BUTTON_HYBRID, None)
|
||||
|
||||
|
||||
def AddToggleTool(self, bitmap, help_string=""):
|
||||
def AddToggleTool(self, tool_id, bitmap, help_string=""):
|
||||
"""
|
||||
Add a toggle tool to the tool bar (simple version).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user