Browse Source

Fix bug that puts the initial display window behind the top menus on a Mac and makes it impossible to grab and move.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35086 15284696-431f-4ddb-bdfa-cd5b030d7da7
Michael Barton 16 years ago
parent
commit
3181207cdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gui_modules/wxgui_utils.py

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

@@ -97,7 +97,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
         self.reorder = False        # layer change requires a reordering
 
         # init associated map display
-        pos = wx.Point(self.disp_idx * 25, self.disp_idx * 25)
+        pos = wx.Point((self.disp_idx + 1) * 25, (self.disp_idx + 1) * 25)
         self.mapdisplay = mapdisp.MapFrame(self,
                                            id=wx.ID_ANY, pos=pos,
                                            size=globalvar.MAP_WINDOW_SIZE,