[GRASS-SVN] r51052 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 12 16:59:24 EDT 2012


Author: annakrat
Date: 2012-03-12 13:59:23 -0700 (Mon, 12 Mar 2012)
New Revision: 51052

Modified:
   grass/trunk/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI: move AddGrowableColumn after adding widgets (attempt to fix assertion on mac)

Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-03-12 16:18:12 UTC (rev 51051)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-03-12 20:59:23 UTC (rev 51052)
@@ -87,7 +87,6 @@
         """!Do layout"""
         sizer = wx.StaticBoxSizer(self.box, wx.HORIZONTAL)
         gridSizer = wx.GridBagSizer(hgap = 3, vgap = 3)
-        gridSizer.AddGrowableCol(1)
         
         gridSizer.Add(item = self.searchBy,
                       flag = wx.ALIGN_CENTER_VERTICAL, pos = (0, 0))
@@ -103,6 +102,8 @@
             gridSizer.Add(item = self.searchChoice,
                           flag = wx.ALIGN_CENTER_VERTICAL | wx.EXPAND, pos = (row, 0), span = (1, 2))
         
+        gridSizer.AddGrowableCol(1)
+
         sizer.Add(item = gridSizer, proportion = 1)
         
         self.SetSizer(sizer)



More information about the grass-commit mailing list