git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28984
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxGrid* grid)
{
wxString value = Combo()->GetValue();
wxGrid* grid)
{
wxString value = Combo()->GetValue();
- bool changed = value != m_startValue;
+ if ( value == m_startValue )
+ return false;
- if ( changed )
- grid->GetTable()->SetValue(row, col, value);
+ grid->GetTable()->SetValue(row, col, value);
}
void wxGridCellChoiceEditor::Reset()
}
void wxGridCellChoiceEditor::Reset()