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
This commit is contained in:
Robin Dunn 2006-06-02 03:44:25 +00:00
parent bf158fe6c6
commit 069eeb1772

View File

@ -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()