removed apparently useless (and provoking a dummy event) code in ChoiceEditor::EndEdit() resetting the choice to 0 index

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-08-31 22:12:06 +00:00
parent 733cea9323
commit 01998c0f97

View File

@ -1466,12 +1466,6 @@ bool wxGridCellChoiceEditor::EndEdit(int row, int col,
if ( changed ) if ( changed )
grid->GetTable()->SetValue(row, col, value); grid->GetTable()->SetValue(row, col, value);
m_startValue = wxEmptyString;
if (m_allowOthers)
Combo()->SetValue(m_startValue);
else
Combo()->SetSelection(0);
return changed; return changed;
} }