Custom grid editors: cancel changes on escape.

If user closes grid cell editor with Escape key any changes must be
canceled.
This commit is contained in:
Baranovskiy Konstantin 2019-01-16 15:16:26 +02:00 committed by Wayne Stambaugh
parent 3c2bf5b3bd
commit 98a911dcb4
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ void GRID_CELL_TEXT_BUTTON::ApplyEdit( int aRow, int aCol, wxGrid* aGrid )
void GRID_CELL_TEXT_BUTTON::Reset() void GRID_CELL_TEXT_BUTTON::Reset()
{ {
Combo()->SetValue( m_value );
} }