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
This commit is contained in:
@@ -117,7 +117,8 @@ class ColumnSorterMixin:
|
|||||||
self._col = col = evt.GetColumn()
|
self._col = col = evt.GetColumn()
|
||||||
self._colSortFlag[col] = int(not self._colSortFlag[col])
|
self._colSortFlag[col] = int(not self._colSortFlag[col])
|
||||||
self.GetListCtrl().SortItems(self.GetColumnSorter())
|
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()
|
evt.Skip()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user