Properties: fix for wx 3.0, second try
This commit is contained in:
parent
85a6ddfca1
commit
773f444636
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue