[GRASS-SVN] r52496 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 1 07:01:08 PDT 2012


Author: annakrat
Date: 2012-08-01 07:01:08 -0700 (Wed, 01 Aug 2012)
New Revision: 52496

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_core/mapdisp.py
Log:
wxGUI: added default implementation of method to MapFrameBase (merge from trunk, r52494)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/mapdisp.py	2012-08-01 14:00:23 UTC (rev 52495)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/mapdisp.py	2012-08-01 14:01:08 UTC (rev 52496)
@@ -293,6 +293,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