]> git.saurik.com Git - wxWidgets.git/commit
Don't hard code white background colour in generic wxDataViewCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Sep 2009 16:43:19 +0000 (16:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 26 Sep 2009 16:43:19 +0000 (16:43 +0000)
commitbb58fa37cdee2d2b422701c0d5ffceef4d65968f
treece1ddf0636e869dce95bcfdc478a1425e5b534b2
parent2fa90e33eaa1b9d9bf851fc0cdaf90b63e964ee6
Don't hard code white background colour in generic wxDataViewCtrl.

wxDataViewMainWindow::OnPaint() always used the white brush to erase the
control background which was wrong, change it to use the background colour of
the control.

Also add tests for setting wxDataViewCtrl foreground and background colours to
the dataview sample.

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