From 069eeb1772ac35b443200a71da46e04ece244619 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 2 Jun 2006 03:44:25 +0000 Subject: [PATCH] colSortFlag shoudl be an int, not a Boolean git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wx/lib/mixins/listctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wx/lib/mixins/listctrl.py b/wxPython/wx/lib/mixins/listctrl.py index c649396f72..fbfc82a229 100644 --- a/wxPython/wx/lib/mixins/listctrl.py +++ b/wxPython/wx/lib/mixins/listctrl.py @@ -115,7 +115,7 @@ class ColumnSorterMixin: def __OnColClick(self, evt): oldCol = self._col self._col = col = evt.GetColumn() - self._colSortFlag[col] = not self._colSortFlag[col] + self._colSortFlag[col] = int(not self._colSortFlag[col]) self.GetListCtrl().SortItems(self.GetColumnSorter()) self.__updateImages(oldCol) evt.Skip() -- 2.47.2