[GRASS-SVN] r45503 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 1 06:58:27 EST 2011


Author: martinl
Date: 2011-03-01 03:58:27 -0800 (Tue, 01 Mar 2011)
New Revision: 45503

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


Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py	2011-03-01 11:51:36 UTC (rev 45502)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py	2011-03-01 11:58:27 UTC (rev 45503)
@@ -176,7 +176,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