Add wxListCtrl::GetAlternateRowColour()
Simple accessor matching the existing setter. Closes #17250.
This commit is contained in:
committed by
Vadim Zeitlin
parent
7c82b9a504
commit
2460410278
@@ -458,6 +458,7 @@ public:
|
||||
|
||||
void EnableAlternateRowColours(bool enable = true);
|
||||
void SetAlternateRowColour(const wxColour& colour);
|
||||
wxColour GetAlternateRowColour() const { return m_alternateRowColour.GetBackgroundColour(); }
|
||||
|
||||
protected:
|
||||
// Real implementations methods to which our public forwards.
|
||||
|
@@ -789,6 +789,14 @@ public:
|
||||
*/
|
||||
void SetAlternateRowColour(const wxColour& colour);
|
||||
|
||||
/**
|
||||
Get the alternative row background colour.
|
||||
|
||||
@since 3.1.0
|
||||
@see SetAlternateRowColour()
|
||||
*/
|
||||
wxColour GetAlternateRowColour() const;
|
||||
|
||||
/**
|
||||
Determines which item (if any) is at the specified point, giving details
|
||||
in @a flags. Returns index of the item or @c wxNOT_FOUND if no item is at
|
||||
|
Reference in New Issue
Block a user