From 01998c0f97d412f4597ba87b8f593162c4c3b4ca Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 31 Aug 2004 22:12:06 +0000 Subject: [PATCH] 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 --- src/generic/grid.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index d1481ccd41..a07c8edb21 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -1466,12 +1466,6 @@ bool wxGridCellChoiceEditor::EndEdit(int row, int col, if ( changed ) grid->GetTable()->SetValue(row, col, value); - m_startValue = wxEmptyString; - if (m_allowOthers) - Combo()->SetValue(m_startValue); - else - Combo()->SetSelection(0); - return changed; } -- 2.45.2