Remove wxHeaderColumn::SetAsSortKey() and only use SetSortOrder().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Sep 2011 15:07:46 +0000 (15:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 21 Sep 2011 15:07:46 +0000 (15:07 +0000)
commitaadbdd1699e512735a6e63798530192b1f9cb09b
tree1e6738c677984a95a3850451f824eb7eaa2211cf
parent8148ae02efb18bb8ad10dfd6a1d8dce66fafbed0
Remove wxHeaderColumn::SetAsSortKey() and only use SetSortOrder().

The two member functions, SetAsSortKey() and SetSortOrder(), were doing almost
the same thing but differently and the former was only used in the generic
wxDataViewCtrl implementation and not implemented in the native GTK/OS X one.

Remove SetAsSortKey() entirely and only keep UnsetAsSortKey() which is still
needed by generic/MSW wxDataViewCtrl. But only SetSortOrder() should now be
called to indicate that the column is used for sorting.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/dataview.h
include/wx/gtk/dataview.h
include/wx/headercol.h
include/wx/osx/dataview.h
interface/wx/headercol.h
src/common/headerctrlcmn.cpp
src/generic/datavgen.cpp
src/gtk/dataview.cpp
src/osx/carbon/dataview.cpp
src/osx/cocoa/dataview.mm