[GRASS-SVN] r52494 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 1 06:58:15 PDT 2012
Author: annakrat
Date: 2012-08-01 06:58:15 -0700 (Wed, 01 Aug 2012)
New Revision: 52494
Modified:
grass/trunk/gui/wxpython/gui_core/mapdisp.py
Log:
wxGUI: added default implementation of method to MapFrameBase
Modified: grass/trunk/gui/wxpython/gui_core/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/mapdisp.py 2012-08-01 10:19:47 UTC (rev 52493)
+++ grass/trunk/gui/wxpython/gui_core/mapdisp.py 2012-08-01 13:58:15 UTC (rev 52494)
@@ -321,6 +321,10 @@
toolbar.OnTool(event)
toolbar.action['desc'] = ''
+ def OnPointer(self, event):
+ """!Sets mouse mode to pointer."""
+ self.MapWindow.mouse['use'] = 'pointer'
+
def OnPan(self, event):
"""!Panning, set mouse to drag
"""
More information about the grass-commit
mailing list