[GRASS-SVN] r35087 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 28 13:17:48 EST 2008
Author: cmbarton
Date: 2008-12-28 13:17:47 -0500 (Sun, 28 Dec 2008)
New Revision: 35087
Modified:
grass/branches/releasebranch_6_4/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/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py 2008-12-28 18:16:03 UTC (rev 35086)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/wxgui_utils.py 2008-12-28 18:17:47 UTC (rev 35087)
@@ -96,7 +96,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