[GRASS-SVN] r58704 - grass/branches/releasebranch_6_4/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 13 10:22:48 PST 2014


Author: annakrat
Date: 2014-01-13 10:22:48 -0800 (Mon, 13 Jan 2014)
New Revision: 58704

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI: fix wxPython 3 AddGrowableCol error in about window

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_core/ghelp.py	2014-01-13 18:20:38 UTC (rev 58703)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_core/ghelp.py	2014-01-13 18:22:48 UTC (rev 58704)
@@ -397,8 +397,6 @@
         infoTxt.SetupScrolling()
         infoSizer = wx.BoxSizer(wx.VERTICAL)
         infoGridSizer = wx.GridBagSizer(vgap = 5, hgap = 5)
-        infoGridSizer.AddGrowableCol(0)
-        infoGridSizer.AddGrowableCol(1)
         logo = os.path.join(globalvar.ETCDIR, "gui", "icons", "grass-64x64.png")
         logoBitmap = wx.StaticBitmap(parent = infoTxt, id = wx.ID_ANY,
                                      bitmap = wx.Bitmap(name = logo,
@@ -468,6 +466,8 @@
                                                label = wx.__version__),
                           pos = (row, 1),
                           flag = wx.ALIGN_LEFT)
+        infoGridSizer.AddGrowableCol(0)
+        infoGridSizer.AddGrowableCol(1)
         
         infoSizer.Add(item = infoGridSizer,
                       proportion = 1,



More information about the grass-commit mailing list