浏览代码

wxGUI: fixed doc string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47859 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 年之前
父节点
当前提交
e3b1c9033e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_modules/mapdisp_window.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp_window.py

@@ -85,7 +85,7 @@ class MapWindow(object):
             self.mapwin = self.parent.GetLayerTree().GetMapDisplay().GetWindow()
             self.mapwin = self.parent.GetLayerTree().GetMapDisplay().GetWindow()
             if self.mapwin.RegisterMouseEventHandler(wx.EVT_LEFT_DOWN, self.OnMouseAction,
             if self.mapwin.RegisterMouseEventHandler(wx.EVT_LEFT_DOWN, self.OnMouseAction,
                                                      wx.StockCursor(wx.CURSOR_CROSS)):
                                                      wx.StockCursor(wx.CURSOR_CROSS)):
-                self.mapwin.Raise()
+                self.parent.GetLayerTree().GetMapDisplay().Raise()
             else:
             else:
                 # handle that you cannot get coordinates
                 # handle that you cannot get coordinates