Applied patch [ 858778 ] AcceleratorKey added: ESC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-12-13 10:17:39 +00:00
parent 5f6edcdc38
commit ba9a9b71c9

View File

@@ -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."),