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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user