瀏覽代碼

wxGUI: fix Phoenix compatibility

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72217 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 7 年之前
父節點
當前提交
e6ea8f1872
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_core/wrap.py

+ 1 - 1
gui/wxpython/gui_core/wrap.py

@@ -225,7 +225,7 @@ class ToolBar(wx.ToolBar):
                      shortHelpString='', longHelpString='', clientData=None):
                      shortHelpString='', longHelpString='', clientData=None):
         if wxPythonPhoenix:
         if wxPythonPhoenix:
             return wx.ToolBar.AddTool(self, toolId=toolId, label=label, bitmap=bitmap, bmpDisabled=bmpDisabled,
             return wx.ToolBar.AddTool(self, toolId=toolId, label=label, bitmap=bitmap, bmpDisabled=bmpDisabled,
-                                      kind=kind, shortHelpString=shortHelpString, longHelpString=longHelpString,
+                                      kind=kind, shortHelp=shortHelpString, longHelp=longHelpString,
                                       clientData=clientData)
                                       clientData=clientData)
         else:
         else:
             return wx.ToolBar.AddLabelTool(self, toolId, label, bitmap, bmpDisabled, kind,
             return wx.ToolBar.AddLabelTool(self, toolId, label, bitmap, bmpDisabled, kind,