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:
parent
3c2bf5b3bd
commit
98a911dcb4
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue