diff --git a/include/wx/listbase.h b/include/wx/listbase.h index bb9098e4b3..df569db9ee 100644 --- a/include/wx/listbase.h +++ b/include/wx/listbase.h @@ -447,7 +447,7 @@ public: virtual void CheckItem(long WXUNUSED(item), bool WXUNUSED(check)) { } // Sort indicator in header. - virtual void ShowSortIndicator(int WXUNUSED(idx), bool WXUNUSED(ascending) = true) { } + virtual void ShowSortIndicator(int WXUNUSED(col), bool WXUNUSED(ascending) = true) { } void RemoveSortIndicator() { ShowSortIndicator(-1); } virtual int GetSortIndicator() const { return -1; } virtual bool IsAscendingSortIndicator() const { return true; } diff --git a/interface/wx/listctrl.h b/interface/wx/listctrl.h index c107b4f6b2..a2620d35fe 100644 --- a/interface/wx/listctrl.h +++ b/interface/wx/listctrl.h @@ -1432,7 +1432,7 @@ public: @note This does not actually sort the list, use SortItems() for this. - @param idx + @param col The column to set the sort indicator for. If @c -1 is given, then the currently shown sort indicator will be removed. @@ -1442,7 +1442,7 @@ public: @since 3.1.6 */ - void ShowSortIndicator(int idx, bool ascending = true); + void ShowSortIndicator(int col, bool ascending = true); /** Remove the sort indicator from the column being used as sort key.