]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/headerctrlcmn.cpp
Update all controls using in-place editors to handle Escape/Return correctly.
[wxWidgets.git] / src / common / headerctrlcmn.cpp
index 4e32625c6b536cda52afe7633119e1ead95fddf4..be858a6848d6c98cc82cc782f1171a97579537b0 100644 (file)
@@ -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);