瀏覽代碼

wxGUI: added default implementation of method to MapFrameBase

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52494 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 年之前
父節點
當前提交
4f723dbdc1
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      gui/wxpython/gui_core/mapdisp.py

+ 4 - 0
gui/wxpython/gui_core/mapdisp.py

@@ -321,6 +321,10 @@ class MapFrameBase(wx.Frame):
             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
         """