Properties: fix for wx 3.0, second try

This commit is contained in:
Jon Evans 2022-11-25 15:20:32 -05:00
parent 85a6ddfca1
commit 773f444636
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ bool PG_CELL_RENDERER::Render( wxDC &aDC, const wxRect &aRect, const wxPropertyG
#else
const wxPGCell* cellPtr = nullptr;
aProperty->GetDisplayInfo( aColumn, aItem, aFlags, &text, &cellPtr );
wxPGCell cell = *cellPtr;
const wxPGCell cell = *cellPtr;
#endif
text = wxControl::Ellipsize( text, aDC, wxELLIPSIZE_MIDDLE, aRect.GetWidth() );