#include <wx/dataview.h>
This class can be used with wxDataViewRenderer::SetValueAdjuster() to customize rendering of model values with standard renderers.
Can be used to change the value if it is shown on a highlighted row (i.e. in selection) which typically has dark background. It is useful in combination with wxDataViewTextRenderer with markup and can be used e.g. to remove background color attributes inside selection, as a lightweight alternative to implementing an entire wxDataViewCustomRenderer specialization.
Public Member Functions | |
virtual wxVariant | MakeHighlighted (const wxVariant &value) const |
Change value for rendering when highlighted. More... | |
Change value for rendering when highlighted.
Override to customize the value when it is shown in a highlighted (selected) row, typically on a dark background.
Default implementation returns value unmodified.
The value passed to this method is always non-null and it must return a non-null value too.