Applied patch [ 1664571 ] ListCtrl::ColumnSorterMixin-new callback
OnSortOrderChanged git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -120,6 +120,15 @@ class ColumnSorterMixin:
|
|||||||
if wx.Platform != "__WXMAC__" or wx.SystemOptions.GetOptionInt("mac.listctrl.always_use_generic") == 1:
|
if wx.Platform != "__WXMAC__" or wx.SystemOptions.GetOptionInt("mac.listctrl.always_use_generic") == 1:
|
||||||
self.__updateImages(oldCol)
|
self.__updateImages(oldCol)
|
||||||
evt.Skip()
|
evt.Skip()
|
||||||
|
self.OnSortOrderChanged()
|
||||||
|
|
||||||
|
|
||||||
|
def OnSortOrderChanged(self):
|
||||||
|
"""
|
||||||
|
Callback called after sort order has changed (whenever user
|
||||||
|
clicked column header).
|
||||||
|
"""
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def __ColumnSorter(self, key1, key2):
|
def __ColumnSorter(self, key1, key2):
|
||||||
|
Reference in New Issue
Block a user