Instead of just setting the value in the generic implementation, do full
preparation (incl. attributes etc.) as everywhere else.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67092
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( wxDataViewCustomRenderer *custom = cell->WXGetAsCustom() )
{
if ( wxDataViewCustomRenderer *custom = cell->WXGetAsCustom() )
{
- cell->SetValue( value );
+ cell->PrepareForItem(model, item, colIdx);
wxRect cell_rect( xpos, GetLineStart( current ),
col->GetWidth(), GetLineHeight( current ) );
wxRect cell_rect( xpos, GetLineStart( current ),
col->GetWidth(), GetLineHeight( current ) );