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:
Blake-Madden
2021-08-24 21:02:53 -04:00
committed by Vadim Zeitlin
parent 5385c9ced1
commit 78952e8ed5

View File

@@ -1038,6 +1038,10 @@ public:
Note that the wxWindow::GetBackgroundColour() function of wxWindow base
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);