[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r10105 - trunk/gnue-forms/src/uidrivers/wx/widgets
From: |
reinhard |
Subject: |
[gnue] r10105 - trunk/gnue-forms/src/uidrivers/wx/widgets |
Date: |
Tue, 8 Dec 2009 09:24:24 -0600 (CST) |
Author: reinhard
Date: 2009-12-08 09:24:24 -0600 (Tue, 08 Dec 2009)
New Revision: 10105
Modified:
trunk/gnue-forms/src/uidrivers/wx/widgets/entry.py
Log:
Also change the background color of dropdowns.
Modified: trunk/gnue-forms/src/uidrivers/wx/widgets/entry.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx/widgets/entry.py 2009-12-08 12:47:53 UTC
(rev 10104)
+++ trunk/gnue-forms/src/uidrivers/wx/widgets/entry.py 2009-12-08 15:24:24 UTC
(rev 10105)
@@ -468,13 +468,9 @@
if isinstance(self.widgets[index], wx.TextCtrl):
self.widgets[index].SetEditable(editable)
- can_change = not 'wxMac' in wx.PlatformInfo
- if 'wxMSW' in wx.PlatformInfo:
- can_change = not isinstance(self.widgets[index], wx.ComboBox)
-
# We set the background color to grey for all kinds of widgets if they
# are not editable, so the user can see some difference.
- if can_change:
+ if not 'wxMac' in wx.PlatformInfo:
if editable:
colour = wx.NullColour
else:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r10105 - trunk/gnue-forms/src/uidrivers/wx/widgets,
reinhard <=