[GRASS-SVN] r35765 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Feb 4 18:17:35 EST 2009
Author: martinl
Date: 2009-02-04 18:17:35 -0500 (Wed, 04 Feb 2009)
New Revision: 35765
Modified:
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: fix #476
(merge from relbr64, r35764)
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2009-02-04 23:15:53 UTC (rev 35764)
+++ grass/trunk/gui/wxpython/wxgui.py 2009-02-04 23:17:35 UTC (rev 35765)
@@ -1168,20 +1168,10 @@
self.curr_page.Layout()
self.curr_page.maptree.Layout()
- # self._auimgr.SetManagedWindow(self.curr_page.maptree.testframe)
- #
- # self._auimgr.AddPane(self.curr_page.maptree.testframe,
- # wx.aui.AuiPaneInfo().Right().
- # BestSize((-1,-1)).
- # CloseButton(True).MinimizeButton(True).
- # DestroyOnClose(True).Layer(2))
- #
- # self._auimgr.Update()
-
# use default window layout
if UserSettings.Get(group='general', key='defWindowPos', subkey='enabled') is True:
dim = UserSettings.Get(group='general', key='defWindowPos', subkey='dim')
- idx = 4 + (self.disp_idx +1) * 4
+ idx = 4 + self.disp_idx * 4
try:
x, y = map(int, dim.split(',')[idx:idx + 2])
w, h = map(int, dim.split(',')[idx + 2:idx + 4])
More information about the grass-commit
mailing list