Rename formal parameter of ShowSortIndicator() to "col"
No real changes, just use a more appropriate parameter name, as it's a column index and not just "index".
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user