I’m not getting any errors but the tree item doesn’t show up with a strikeout font:
font = self.tree.GetFont()
if font.IsOk():
newfont = wx.FFont( font.GetPointSize(), font.GetFamily(), flags = wx.FONTFLAG_STRIKETHROUGH )
if newfont.IsOk():
self.tree.SetItemFont( contactmessagingitem.treeitem, newfont )
Anyone have any idea what the problem might be? I’m using wxPython 2.8 with Python 2.6