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:
@@ -1566,6 +1566,21 @@ public:
|
||||
*/
|
||||
virtual void SelectAll();
|
||||
|
||||
/**
|
||||
Set custom colour for the alternate rows used with wxDV_ROW_LINES
|
||||
style.
|
||||
|
||||
Note that calling this method has no effect if wxDV_ROW_LINES is off.
|
||||
|
||||
@param colour The colour to use for the alternate rows.
|
||||
@return @true if customizing this colour is supported (currently only
|
||||
in the generic version), @false if this method is not implemented
|
||||
under this platform.
|
||||
|
||||
@since 3.1.1
|
||||
*/
|
||||
bool SetAlternateRowColour(const wxColour& colour);
|
||||
|
||||
/**
|
||||
Set which column shall contain the tree-like expanders.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user