[GRASS-SVN] r45506 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 1 07:10:44 EST 2011


Author: martinl
Date: 2011-03-01 04:10:44 -0800 (Tue, 01 Mar 2011)
New Revision: 45506

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
Log:
wxGUI: fix _defineTool (hardcoded value wx.ITEM_NORMAL)
patch by Anna Kratochvilova
(merge r45503 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2011-03-01 12:10:13 UTC (rev 45505)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/toolbars.py	2011-03-01 12:10:44 UTC (rev 45506)
@@ -177,7 +177,7 @@
         """
         if key:
             return (key, name, icon.GetBitmap(),
-                    wx.ITEM_NORMAL, icon.GetLabel(), icon.GetDesc(),
+                    item, icon.GetLabel(), icon.GetDesc(),
                     handler)
         return ("", "", "", "", "", "", "") # separator
     



More information about the grass-commit mailing list