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

@@ -5084,7 +5084,7 @@ bool wxGenericListCtrl::IsItemChecked(long item) const
return m_mainWin->IsItemChecked(item);
}
void wxGenericListCtrl::EnableSortIndicator(const bool enable)
void wxGenericListCtrl::EnableSortIndicator(bool enable)
{
if ( m_headerWin )
{
@@ -5098,7 +5098,7 @@ bool wxGenericListCtrl::IsSortIndicatorEnabled() const
return m_headerWin && m_headerWin->m_enableSortCol;
}
void wxGenericListCtrl::ShowSortIndicator(const int idx, const bool ascending)
void wxGenericListCtrl::ShowSortIndicator(int idx, bool ascending)
{
if ( idx == -1 )
{