Use correct colour for selected items in generic wxDVC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 15 Oct 2009 16:53:45 +0000 (16:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 15 Oct 2009 16:53:45 +0000 (16:53 +0000)
commit84fc95da58864be4b0558cc0da99f51901a990b8
tree81563a5ca208b6fb4efb68e0b7756748a6289ccd
parente607eac25c66866c3ad05313eb65510dd31ab557
Use correct colour for selected items in generic wxDVC.

wxDataViewCustomRenderer::RenderText() taking attributes must use correct
colour for the selected items if no attribute is specified as it can be (and
is) called directly and not only via the compatibility overload.

This fixes the display of the selected items in the dataview sample broken by
recent changes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/dataview.h
src/generic/datavgen.cpp