Implement background color attribute for wxDataViewCtrl in wxOSX

Add support for this attribute for text-like cells to the native macOS
version too, to bring it up to parity with the generic and GTK ones.

Closes https://github.com/wxWidgets/wxWidgets/pull/1673
This commit is contained in:
Ian McInerney
2019-12-07 00:51:27 +00:00
committed by Vadim Zeitlin
parent c4af8be615
commit 540fed9216
3 changed files with 61 additions and 19 deletions

View File

@@ -713,10 +713,9 @@ public:
/**
Call this to set the background colour to use.
Currently this attribute is only supported in the generic version of
wxDataViewCtrl and ignored by the native GTK+ and OS X implementations.
@since 2.9.4
@since 2.9.4 - Generic
@since 3.1.1 - wxGTK
@since 3.1.4 - wxOSX
*/
void SetBackgroundColour(const wxColour& colour);