[GRASS-SVN] r35086 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 28 13:16:04 EST 2008
Author: cmbarton
Date: 2008-12-28 13:16:03 -0500 (Sun, 28 Dec 2008)
New Revision: 35086
Modified:
grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
Log:
Fix bug that puts the initial display window behind the top menus on a Mac and makes it impossible to grab and move.
Modified: grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py 2008-12-28 18:01:28 UTC (rev 35085)
+++ grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py 2008-12-28 18:16:03 UTC (rev 35086)
@@ -97,7 +97,7 @@
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,
More information about the grass-commit
mailing list