Deprecate wx.ListItemAttr

This commit is contained in:
Robin Dunn
2018-02-10 12:52:23 -08:00
parent 309f67fc19
commit c4b741b797
2 changed files with 6 additions and 2 deletions

View File

@@ -30,10 +30,10 @@ class TestVirtualList(wx.ListCtrl):
self.SetItemCount(1000000)
self.attr1 = wx.ListItemAttr()
self.attr1 = wx.ItemAttr()
self.attr1.SetBackgroundColour("yellow")
self.attr2 = wx.ListItemAttr()
self.attr2 = wx.ItemAttr()
self.attr2.SetBackgroundColour("light blue")
self.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnItemSelected)