git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6274
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Otherwise fall through to default
default:
- // alphanumeric keys enable the cell edit control
+ // alphanumeric keys or F2 (special key just for this) enable
+ // the cell edit control
if ( !(event.AltDown() ||
event.MetaDown() ||
event.ControlDown()) &&
- isalnum(event.KeyCode()) &&
+ (isalnum(event.KeyCode()) || event.KeyCode() == WXK_F2) &&
!IsCellEditControlEnabled() &&
CanEnableCellControl() )
{