]> git.saurik.com Git - wxWidgets.git/commitdiff
Native control on Mac draws its own arrows, so don't draw them ourselves in that...
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 1 Dec 2006 20:01:22 +0000 (20:01 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 1 Dec 2006 20:01:22 +0000 (20:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/mixins/listctrl.py

index cac86a09270e0e5bddc625d9a72282da897a0feb..921e25041570936cec15d70e56252ce3c42d4717 100644 (file)
@@ -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()