Add wxDataViewCtrlBase::SetAlternateRowColour()

Previously this method was only available in the generic wxDataViewCtrl,
move it to the base class to make it possible calling it in portable
code and document it.

Closes #14617.
This commit is contained in:
Vadim Zeitlin
2018-02-04 15:27:02 +01:00
parent da4e125db4
commit af78ad3b49
4 changed files with 26 additions and 3 deletions

View File

@@ -5781,9 +5781,10 @@ bool wxDataViewCtrl::SetHeaderAttr(const wxItemAttr& attr)
return true;
}
void wxDataViewCtrl::SetAlternateRowColour(const wxColour& colour)
bool wxDataViewCtrl::SetAlternateRowColour(const wxColour& colour)
{
m_alternateRowColour = colour;
return true;
}
void wxDataViewCtrl::SelectAll()