[GRASS-SVN] r51728 - grass/branches/releasebranch_6_4/gui/wxpython/dbmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 24 13:41:07 EDT 2012


Author: annakrat
Date: 2012-05-24 10:41:06 -0700 (Thu, 24 May 2012)
New Revision: 51728

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py
Log:
wxGUI/dbmgr: move wx.StaticBox? initialization (problem on Mac) - merge from trunk r51724

Modified: grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py	2012-05-24 17:40:51 UTC (rev 51727)
+++ grass/branches/releasebranch_6_4/gui/wxpython/dbmgr/manager.py	2012-05-24 17:41:06 UTC (rev 51728)
@@ -2452,6 +2452,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
         #
@@ -2540,11 +2546,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