IDEFrame.py
changeset 1635 25e3bf6e193d
parent 1610 31703a04789a
child 1700 df50e13a94d6
--- a/IDEFrame.py	Fri Jan 13 20:05:59 2017 +0300
+++ b/IDEFrame.py	Mon Jan 16 12:15:20 2017 +0300
@@ -1491,8 +1491,7 @@
             item_name = _(item_name)
         self.ProjectTree.SetItemText(root, item_name)
         self.ProjectTree.SetPyData(root, infos)
-        highlight_colours = self.Highlights.get(infos.get("tagname", None), (wx.WHITE, wx.BLACK))
-        self.ProjectTree.SetItemBackgroundColour(root, highlight_colours[0])
+        highlight_colours = self.Highlights.get(infos.get("tagname", None), (wx.Colour(255, 255, 255, 0), wx.BLACK))
         self.ProjectTree.SetItemTextColour(root, highlight_colours[1])
         self.ProjectTree.SetItemExtraImage(root, None)
         if infos["type"] == ITEM_POU: