[GRASS-SVN] r36239 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 8 00:40:36 EST 2009
Author: cmbarton
Date: 2009-03-08 00:40:36 -0500 (Sun, 08 Mar 2009)
New Revision: 36239
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
Log:
Fix frozen database browse window on Mac.
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py 2009-03-08 05:40:06 UTC (rev 36238)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm.py 2009-03-08 05:40:36 UTC (rev 36239)
@@ -543,6 +543,15 @@
continue
panel = wx.Panel(parent=self.browsePage, id=wx.ID_ANY)
+
+ #IMPORTANT NOTE: wx.StaticBox MUST be defined BEFORE any of the
+ # controls that are placed IN the wx.StaticBox, or it will freeze
+ # on the Mac
+
+ listBox = wx.StaticBox(parent=panel, id=wx.ID_ANY,
+ label=" %s " % _("Attribute data - right-click to edit/manage records"))
+ listSizer = wx.StaticBoxSizer(listBox, wx.VERTICAL)
+
win = VirtualAttributeList(panel, self.log,
self.mapDBInfo, layer)
if win.IsEmpty():
@@ -558,11 +567,7 @@
pageSizer = wx.BoxSizer(wx.VERTICAL)
- # attribute data
- listBox = wx.StaticBox(parent=panel, id=wx.ID_ANY,
- label=" %s " % _("Attribute data - right-click to edit/manage records"))
- listSizer = wx.StaticBoxSizer(listBox, wx.VERTICAL)
-
+ # attribute data
sqlBox = wx.StaticBox(parent=panel, id=wx.ID_ANY,
label=" %s " % _("SQL Query"))
More information about the grass-commit
mailing list