More wxListCtrl test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -221,6 +221,7 @@ class TestListCtrlPanel(wxPanel, wxColumnSorterMixin):
|
||||
# Show how to reselect something we don't want deselected
|
||||
def OnItemDeselected(self, evt):
|
||||
item = evt.GetItem()
|
||||
print evt.m_itemIndex
|
||||
if evt.m_itemIndex == 11:
|
||||
wxCallAfter(self.list.SetItemState, 11, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)
|
||||
|
||||
|
Reference in New Issue
Block a user