projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added dialog tabbing to wxX11.
[wxWidgets.git]
/
wxPython
/
demo
/
VirtualListCtrl.py
diff --git
a/wxPython/demo/VirtualListCtrl.py
b/wxPython/demo/VirtualListCtrl.py
index 23b4b627da7dcb580e45ca9964a69b6f13190ee1..b30b4caf4c7f9ebaa4098d4c5c6507c8cca9e764 100644
(file)
--- 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 OnGetItemText(self, item, col):
return "Item %d, column %d" % (item, col)
+
def OnGetItemImage(self, item):
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:
def OnGetItemAttr(self, item):
if item % 3 == 1: