Some little tweaks...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-10-18 19:19:38 +00:00
parent 54a816a683
commit 0e94700456
3 changed files with 10 additions and 3 deletions

View File

@@ -122,6 +122,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.list.InsertColumnInfo(2, info)
items = musicdata.items()
for x in range(len(items)):
key, data = items[x]
@@ -138,6 +139,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
self.list.SetColumnWidth(0, wxLIST_AUTOSIZE)
self.list.SetColumnWidth(1, wxLIST_AUTOSIZE)
self.list.SetColumnWidth(2, 100)
# show how to select an item
self.list.SetItemState(5, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)