[GRASS-SVN] r52495 - grass/branches/develbranch_6/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 1 07:00:23 PDT 2012


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

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

Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/mapdisp.py	2012-08-01 13:58:15 UTC (rev 52494)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/mapdisp.py	2012-08-01 14:00:23 UTC (rev 52495)
@@ -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