X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1acf670a9dbaee6ba2ceec06560c7fa68a48da62..5dec941a5ba3c08870ab4b415dd6e5be368fa0f0:/src/common/headerctrlcmn.cpp diff --git a/src/common/headerctrlcmn.cpp b/src/common/headerctrlcmn.cpp index 4e32625c6b..be858a6848 100644 --- a/src/common/headerctrlcmn.cpp +++ b/src/common/headerctrlcmn.cpp @@ -443,7 +443,7 @@ void wxHeaderCtrlSimple::DoShowSortIndicator(unsigned int idx, bool ascending) { RemoveSortIndicator(); - m_cols[idx].SetAsSortKey(ascending); + m_cols[idx].SetSortOrder(ascending); m_sortKey = idx; UpdateColumn(idx);