Make generic wxDataViewProgressRenderer fill the entire cell.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Oct 2009 22:44:09 +0000 (22:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Oct 2009 22:44:09 +0000 (22:44 +0000)
commit3e60a3c1471d7573e4e05ebc97006b9274a279ae
tree0a375d2d14ff07bd8a223b9401751bd7cfcc9c7d
parenta6f1201f979564c4fe025cb31f0cf65517d850f1
Make generic wxDataViewProgressRenderer fill the entire cell.

After the fixes in the previous commit it is finally possibly to make the
progress renderer expand to the entire cell area instead of taking a
fixed width, it is enough to simply override RenderWithAttr() instead of
Render() and ignore the alignment as this avoids the use of (arbitrary and
hardcoded) wxDataViewProgressRenderer::GetSize().

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