dc.SetBackgroundMode( wxBRUSHSTYLE_SOLID );
wxColour clr;
- if ( grid.IsEnabled() )
+ if ( grid.IsThisEnabled() )
{
if ( isSelected )
{
// TODO some special colours for attr.IsReadOnly() case?
// different coloured text when the grid is disabled
- if ( grid.IsEnabled() )
+ if ( grid.IsThisEnabled() )
{
if ( isSelected )
{
// compute it only once (no locks for MT safeness in GUI thread...)
if ( !ms_sizeCheckMark.x )
{
- ms_sizeCheckMark = wxRendererNative::Get().GetCheckBoxSize();
+ ms_sizeCheckMark = wxRendererNative::Get().GetCheckBoxSize(&grid);
}
return ms_sizeCheckMark;