[GRASS-SVN] r31165 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 28 18:05:21 EDT 2008


Author: martinl
Date: 2008-04-28 18:05:21 -0400 (Mon, 28 Apr 2008)
New Revision: 31165

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI (mapwindow): use default size defined in globalvar module

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py	2008-04-28 21:37:10 UTC (rev 31164)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/wxgui_utils.py	2008-04-28 22:05:21 UTC (rev 31165)
@@ -89,7 +89,8 @@
 
         # init associated map display
         self.mapdisplay = mapdisp.MapFrame(self,
-                                           id=wx.ID_ANY, pos=wx.DefaultPosition, size=(680, 520),
+                                           id=wx.ID_ANY, pos=wx.DefaultPosition,
+                                           size=globalvar.MAP_WINDOW_SIZE,
                                            style=wx.DEFAULT_FRAME_STYLE,
                                            tree=self, notebook=self.notebook,
                                            gismgr=self.gismgr, page=self.treepg,



More information about the grass-commit mailing list