diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index 83d76e28f6..f27bebd28e 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -210,6 +210,9 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label) else if ( current == wxT("TAB") ) { keyCode = WXK_TAB; } + else if ( current == wxT("ESC") ) { + keyCode = WXK_ESCAPE; + } else { wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),