Remove top level "const" from {Enable,Show}SortIndicator()

Don't use "const int" or "const bool" for parameter types, the "const"
here is ignored and using it is inconsistent with all the rest of the
library.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-12-13 14:18:18 +00:00
parent dbe8e30b56
commit 58290168e5
6 changed files with 12 additions and 12 deletions

View File

@@ -1456,7 +1456,7 @@ bool wxListCtrl::IsItemChecked(long item) const
return ListView_GetCheckState(GetHwnd(), (UINT)item) != 0;
}
void wxListCtrl::EnableSortIndicator(const bool enable)
void wxListCtrl::EnableSortIndicator(bool enable)
{
m_enableSortCol = enable;
DrawSortArrow();
@@ -1467,7 +1467,7 @@ bool wxListCtrl::IsSortIndicatorEnabled() const
return m_enableSortCol;
}
void wxListCtrl::ShowSortIndicator(const int idx, const bool ascending)
void wxListCtrl::ShowSortIndicator(int idx, bool ascending)
{
if ( idx == -1 )
{