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:
@@ -210,6 +210,9 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
|||||||
else if ( current == wxT("TAB") ) {
|
else if ( current == wxT("TAB") ) {
|
||||||
keyCode = WXK_TAB;
|
keyCode = WXK_TAB;
|
||||||
}
|
}
|
||||||
|
else if ( current == wxT("ESC") ) {
|
||||||
|
keyCode = WXK_ESCAPE;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
|
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
|
||||||
|
Reference in New Issue
Block a user