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:
@@ -755,6 +755,12 @@ public:
|
||||
virtual bool SetHeaderAttr(const wxItemAttr& WXUNUSED(attr))
|
||||
{ return false; }
|
||||
|
||||
// Set the colour used for the "alternate" rows when wxDV_ROW_LINES is on.
|
||||
// Also only supported in the generic version, which returns true to
|
||||
// indicate it.
|
||||
virtual bool SetAlternateRowColour(const wxColour& WXUNUSED(colour))
|
||||
{ return false; }
|
||||
|
||||
virtual wxVisualAttributes GetDefaultAttributes() const wxOVERRIDE
|
||||
{
|
||||
return GetClassDefaultAttributes(GetWindowVariant());
|
||||
|
Reference in New Issue
Block a user