From: Kevin Ollivier Date: Fri, 1 Dec 2006 20:01:22 +0000 (+0000) Subject: Native control on Mac draws its own arrows, so don't draw them ourselves in that... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d10d4362bb2524638ea58b6b3a492e960709d1ec Native control on Mac draws its own arrows, so don't draw them ourselves in that case. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/lib/mixins/listctrl.py b/wxPython/wx/lib/mixins/listctrl.py index cac86a0927..921e250415 100644 --- a/wxPython/wx/lib/mixins/listctrl.py +++ b/wxPython/wx/lib/mixins/listctrl.py @@ -117,7 +117,8 @@ class ColumnSorterMixin: self._col = col = evt.GetColumn() self._colSortFlag[col] = int(not self._colSortFlag[col]) self.GetListCtrl().SortItems(self.GetColumnSorter()) - self.__updateImages(oldCol) + if wx.Platform != "__WXMAC__" or wx.SystemOptions.GetOptionInt("mac.listctrl.always_use_generic") == 1: + self.__updateImages(oldCol) evt.Skip()