demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-07-11 20:41:21 +00:00
parent 47b2f647b9
commit 63b6646e5d
10 changed files with 73 additions and 43 deletions

View File

@@ -105,7 +105,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.list.SetImageList(self.il, wxIMAGE_LIST_SMALL)
# Why doesn't this show up on MSW???
self.list.SetToolTip(wxToolTip("This is a ToolTip!"))
#self.list.SetToolTip(wxToolTip("This is a ToolTip!"))
if 0:
# for normal, simple columns, you can add them like this:
@@ -280,6 +280,8 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
def OnPopupOne(self, event):
self.log.WriteText("Popup one\n")
print "FindItem:", self.list.FindItem(-1, "Billy Joel")
print "FindItemData:", self.list.FindItemData(-1, 20)
def OnPopupTwo(self, event):
self.log.WriteText("Popup two\n")