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