Fix a compatibility issue with wxWidgets 3.1.5 and older
This commit is contained in:
parent
b3559ae12c
commit
709ad14e74
|
@ -47,7 +47,7 @@ bool PG_CELL_RENDERER::Render( wxDC &aDC, const wxRect &aRect, const wxPropertyG
|
|||
|
||||
text = wxControl::Ellipsize( text, aDC, wxELLIPSIZE_MIDDLE, aRect.GetWidth() );
|
||||
|
||||
#if wxCHECK_VERSION( 3, 1, 0 )
|
||||
#if wxCHECK_VERSION( 3, 1, 6 )
|
||||
int imageWidth = PreDrawCell( aDC, aRect, aGrid, cell, preDrawFlags );
|
||||
#else
|
||||
int imageWidth = PreDrawCell( aDC, aRect, cell, preDrawFlags );
|
||||
|
|
Loading…
Reference in New Issue