No changes, just refactor common IsSorted() tests in wxGTK wxDataViewCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Apr 2012 23:22:34 +0000 (23:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 29 Apr 2012 23:22:34 +0000 (23:22 +0000)
commitf330dce9b7b61f18264e12498ca14944ea9d30be
treeef249b87e0fee1d8eb61a8f0b58d6c287acf08e4
parent87cf085e960ffdbc0661d2730ab262a5a52a1afe
No changes, just refactor common IsSorted() tests in wxGTK wxDataViewCtrl.

Add wxDataViewCtrlInternal::ShouldBeSorted() helper instead of testing for
both IsSorted() and wxDataViewModel::HasDefaultCompare() in several places.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/dataview.cpp