[gnue] r9480 - trunk/gnue-forms/src/uidrivers/wx26/widgets

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-10 05:06:43 -0500 (Tue, 10 Apr 2007)
New Revision: 9480

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/grid.py
Log:
Fix for empty labels in grids.


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/grid.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/grid.py	2007-04-10 08:34:33 UTC (rev 9479)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/grid.py	2007-04-10 10:06:43 UTC (rev 9480)
@@ -127,7 +127,7 @@
             pnl.SetSizer(vbx)
 
             for label in cols[clx]:
-                stc = wx.StaticText(pnl, -1, label)
+                stc = wx.StaticText(pnl, -1, label or u"")
                 vbx.Add(stc, 1, wx.EXPAND)
 
             sizer.Add(pnl, (0, clx), (1, 1), wx.EXPAND)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.