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

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-04-17 03:32:07 -0500 (Tue, 17 Apr 2007)
New Revision: 9500

Modified:
   trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
Log:
Don't set the font explicitly so it works on wxMSW too


Modified: trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py	2007-04-17 08:14:26 UTC (rev 9499)
+++ trunk/gnue-forms/src/uidrivers/wx26/widgets/form.py	2007-04-17 08:32:07 UTC (rev 9500)
@@ -663,7 +663,7 @@
 
         # Prepare DC to paint on
         dc = self.GetDC()
-        dc.SetFont(wx.NORMAL_FONT)
+        # dc.SetFont(wx.NORMAL_FONT)
         dc.SetPen(wx.BLACK_PEN)
         dc.SetBrush(wx.TRANSPARENT_BRUSH)
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.