X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/462f07cac23156245b519b8d7a6cd56955c58ab7..a81c3c2383f9096ef5e96b708a0f1c1ffe7cc6a8:/wxPython/demo/VirtualListCtrl.py?ds=inline diff --git a/wxPython/demo/VirtualListCtrl.py b/wxPython/demo/VirtualListCtrl.py index 23b4b627da..b30b4caf4c 100644 --- a/wxPython/demo/VirtualListCtrl.py +++ b/wxPython/demo/VirtualListCtrl.py @@ -51,8 +51,10 @@ class TestVirtualList(wxListCtrl): def OnGetItemText(self, item, col): return "Item %d, column %d" % (item, col) + def OnGetItemImage(self, item): - return 0 + return -1 # if used you should return the index in the ImageList + def OnGetItemAttr(self, item): if item % 3 == 1: