From: pierre Date: Thu, 10 Oct 2024 13:23:02 +0000 (+0200) Subject: flag X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=1f58014510b4bd9a73d2d80c07d80328cdc48a5b;p=iramuteq flag --- diff --git a/search_list.py b/search_list.py index 6aff98b..b943db5 100644 --- a/search_list.py +++ b/search_list.py @@ -53,17 +53,17 @@ class SearchList(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin, listmix.ColumnSort s="self.%s= self.il.Add(wx.ArtProvider.GetBitmap(wx.ART_%s,wx.ART_TOOLBAR,(16,16)))" % (k,v) exec(s) self.SetImageList(self.il, wx.IMAGE_LIST_SMALL) - self.attr1 = wx.ListItemAttr() + self.attr1 = wx.ItemAttr() self.attr1.SetBackgroundColour((220, 220, 220)) - self.attrsg = wx.ListItemAttr() + self.attrsg = wx.ItemAttr() self.attrsg.SetBackgroundColour((230, 230, 230)) - self.attr2 = wx.ListItemAttr() + self.attr2 = wx.ItemAttr() self.attr2.SetBackgroundColour((190, 249, 236)) - self.attr2s = wx.ListItemAttr() + self.attr2s = wx.ItemAttr() self.attr2s.SetBackgroundColour((211, 252, 244)) - self.attr3 = wx.ListItemAttr() + self.attr3 = wx.ItemAttr() self.attr3.SetBackgroundColour((245, 180, 180)) - self.attr3s = wx.ListItemAttr() + self.attr3s = wx.ItemAttr() self.attr3s.SetBackgroundColour((245, 190, 190)) tID = wx.NewId() self.dlist = dlist