Fix theme bug reported on Redhat bugzilla

bzr-revno: 996
This commit is contained in:
Tim Bentley 2010-08-27 20:18:37 +01:00
commit 3645c9400e

View File

@ -204,7 +204,7 @@ class Theme(object):
val = element_text
if (element.tag.find(u'Color') > 0 or
(element.tag.find(u'BackgroundParameter') == 0 and
isinstance(int, val))):
isinstance(val, int))):
# convert to a wx.Colour
if not delphi_color_change:
val = QtGui.QColor(