From: Robin Dunn Date: Fri, 2 Jun 2006 03:44:25 +0000 (+0000) Subject: colSortFlag shoudl be an int, not a Boolean X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/069eeb1772ac35b443200a71da46e04ece244619 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 --- 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()