57
57
def _set_size_and_style(self, w):
59
59
if self.obj.style == 'normal':
61
61
elif self.obj.style == 'italic':
62
62
style, weight = wx.ITALIC, wx.NORMAL
63
63
elif self.obj.style == 'bold':
64
64
style, weight = wx.NORMAL, wx.BOLD
66
66
raise NotImplementedError, 'style "%s" not supported' % self.obj.style
68
68
f = wx.Font(self.obj.size, wx.ROMAN, style, weight, False)
69
69
style = wx.TextAttr("BLACK",wx.NullColour,f)