git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57503
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( changed )
{
wxGridTableBase * const table = grid->GetTable();
if ( changed )
{
wxGridTableBase * const table = grid->GetTable();
- if ( table->CanGetValueAs(row, col, wxGRID_VALUE_BOOL) )
+ if ( table->CanSetValueAs(row, col, wxGRID_VALUE_BOOL) )
table->SetValueAsBool(row, col, value);
else
table->SetValue(row, col, GetValue());
table->SetValueAsBool(row, col, value);
else
table->SetValue(row, col, GetValue());