uncommented a try...except that I had removed for testing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-09-17 15:43:05 +00:00
parent 0190e1faf8
commit 2d0294308d

View File

@@ -208,13 +208,13 @@ class wxpTagHandler(wxHtmlWinTagHandler):
# convert to wxColour # convert to wxColour
elif value[0] == '#': elif value[0] == '#':
#try: try:
red = string.atoi('0x'+value[1:3], 16) red = string.atoi('0x'+value[1:3], 16)
green = string.atoi('0x'+value[3:5], 16) green = string.atoi('0x'+value[3:5], 16)
blue = string.atoi('0x'+value[5:], 16) blue = string.atoi('0x'+value[5:], 16)
value = wxColor(red, green, blue) value = wxColor(red, green, blue)
#except: except:
# pass pass
self.ctx.kwargs[name] = value self.ctx.kwargs[name] = value
return false return false