[GRASS-SVN] r51724 - grass/trunk/gui/wxpython/dbmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 24 13:32:15 EDT 2012


Author: annakrat
Date: 2012-05-24 10:32:14 -0700 (Thu, 24 May 2012)
New Revision: 51724

Modified:
   grass/trunk/gui/wxpython/dbmgr/manager.py
Log:
wxGUI/: move wx.StaticBox initialization (problem on Mac)

Modified: grass/trunk/gui/wxpython/dbmgr/manager.py
===================================================================
--- grass/trunk/gui/wxpython/dbmgr/manager.py	2012-05-24 17:24:34 UTC (rev 51723)
+++ grass/trunk/gui/wxpython/dbmgr/manager.py	2012-05-24 17:32:14 UTC (rev 51724)
@@ -2455,6 +2455,12 @@
         # tooltips
         self.addLayerWidgets['addCat'][0].SetToolTipString(_("You need to add categories "
                                                              "by v.category module."))
+
+        # table description
+        tableBox = wx.StaticBox (parent = self.addPanel, id = wx.ID_ANY,
+                                 label = " %s " % (_("Table description")))
+        tableSizer = wx.StaticBoxSizer(tableBox, wx.VERTICAL)
+
         #
         # list of table widgets
         #
@@ -2543,11 +2549,6 @@
                        flag = wx.ALL | wx.EXPAND,
                        border = 0)
                 
-        # table description
-        tableBox = wx.StaticBox (parent = self.addPanel, id = wx.ID_ANY,
-                                 label = " %s " % (_("Table description")))
-        tableSizer = wx.StaticBoxSizer(tableBox, wx.VERTICAL)
-        
         # data area
         dataSizer = wx.FlexGridSizer(cols = 2, hgap = 5, vgap = 5)
         dataSizer.AddGrowableCol(1)



More information about the grass-commit mailing list