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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user