X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..bfdc04a9bb95e6865570d59192718052b6229221:/wxPython/demo/wxListCtrl_virtual.py diff --git a/wxPython/demo/wxListCtrl_virtual.py b/wxPython/demo/wxListCtrl_virtual.py index 7dffd52fdd..ba64a193c9 100644 --- a/wxPython/demo/wxListCtrl_virtual.py +++ b/wxPython/demo/wxListCtrl_virtual.py @@ -53,7 +53,7 @@ class TestVirtualList(wxListCtrl): return item.GetText() def OnItemDeselected(self, evt): - print evt.m_itemIndex + self.log.WriteText("OnItemDeselected: %s" % evt.m_itemIndex) #--------------------------------------------------- @@ -61,7 +61,7 @@ class TestVirtualList(wxListCtrl): # "virtualness" of the list... Normally you would # determine the text, attributes and/or image based # on values from some external data source, but for - # this demo we'll just calcualte them + # this demo we'll just calculate them def OnGetItemText(self, item, col): return "Item %d, column %d" % (item, col)