From 4309759886d3f79801610d3095b414e262a9f8cc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 3 Sep 2001 22:47:34 +0000 Subject: [PATCH] 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 --- wxPython/src/controls2.i | 2 +- wxPython/src/msw/controls2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index df98aa8b98..01436fa680 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -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 diff --git a/wxPython/src/msw/controls2.py b/wxPython/src/msw/controls2.py index 425977be64..b9c67e124c 100644 --- a/wxPython/src/msw/controls2.py +++ b/wxPython/src/msw/controls2.py @@ -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 -- 2.45.2