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