Improve ListCtrl::EnableAlternateRowColours() documentation
Mention that it needs to be called again after calling SetBackgroundColour(). Closes https://github.com/wxWidgets/wxWidgets/pull/2493
This commit is contained in:
committed by
Vadim Zeitlin
parent
5385c9ced1
commit
78952e8ed5
@@ -1038,6 +1038,10 @@ public:
|
|||||||
|
|
||||||
Note that the wxWindow::GetBackgroundColour() function of wxWindow base
|
Note that the wxWindow::GetBackgroundColour() function of wxWindow base
|
||||||
class can be used to retrieve the current background colour.
|
class can be used to retrieve the current background colour.
|
||||||
|
|
||||||
|
@note If alternate row colouring is enabled, then call
|
||||||
|
EnableAlternateRowColours() again after changing the background colour. This
|
||||||
|
will update the alternate row color to match the new background colour.
|
||||||
*/
|
*/
|
||||||
virtual bool SetBackgroundColour(const wxColour& col);
|
virtual bool SetBackgroundColour(const wxColour& col);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user