Added space and tab to key names recognised for accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -186,6 +186,12 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
||||
else if ( current == wxT("END") ) {
|
||||
keyCode = WXK_END;
|
||||
}
|
||||
else if ( current == wxT("SPACE") ) {
|
||||
keyCode = WXK_SPACE;
|
||||
}
|
||||
else if ( current == wxT("TAB") ) {
|
||||
keyCode = WXK_TAB;
|
||||
}
|
||||
else
|
||||
{
|
||||
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
|
||||
|
Reference in New Issue
Block a user