Updated wxColumnSorterMixin to also be able to place sort icons on the

column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-09-03 22:47:34 +00:00
parent 6d19860fe8
commit 4309759886
2 changed files with 2 additions and 2 deletions

View File

@@ -659,7 +659,7 @@ public:
%pragma(python) addtoclass = "
# Some helpers...
def Select(self, idx, on=true):
def Select(self, idx, on=1):
'''[de]select an item'''
if on: state = wxLIST_STATE_SELECTED
else: state = 0

View File

@@ -640,7 +640,7 @@ class wxListCtrlPtr(wxControlPtr):
# Some helpers...
def Select(self, idx, on=true):
def Select(self, idx, on=1):
'''[de]select an item'''
if on: state = wxLIST_STATE_SELECTED
else: state = 0