Merge recent wxPython changes from 2.8 branch to HEAD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -304,7 +304,7 @@ class ParamFont(PPanel):
|
||||
except KeyError: error = True; wx.LogError('Invalid style specification')
|
||||
try: weight = fontWeightsXml2wx[self.value[3]]
|
||||
except KeyError: error = True; wx.LogError('Invalid weight specification')
|
||||
try: underlined = bool(self.value[4])
|
||||
try: underlined = bool(int(self.value[4]))
|
||||
except ValueError: error = True; wx.LogError('Invalid underlined flag specification')
|
||||
face = self.value[5]
|
||||
except IndexError:
|
||||
|
Reference in New Issue
Block a user