git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20572
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\twocolitem{{\tt END}}{End key}
\twocolitem{{\tt SPACE}}{Space}
\twocolitem{{\tt TAB}}{Tab key}
\twocolitem{{\tt END}}{End key}
\twocolitem{{\tt SPACE}}{Space}
\twocolitem{{\tt TAB}}{Tab key}
+\twocolitem{{\tt ESC} or {\tt ESCAPE}}{Escape key (Windows only)}
\end{twocollist}
\wxheading{See also}
\end{twocollist}
\wxheading{See also}
else {
// several special cases
current.MakeUpper();
else {
// several special cases
current.MakeUpper();
- if ( current == wxT("DEL") ) {
+ if ( current == wxT("DEL") )
- }
- else if ( current == wxT("DELETE") ) {
+ else if ( current == wxT("DELETE") )
- }
- else if ( current == wxT("INS") ) {
+ else if ( current == wxT("INS") )
- }
- else if ( current == wxT("INSERT") ) {
+ else if ( current == wxT("INSERT") )
- }
- else if ( current == wxT("ENTER") || current == wxT("RETURN") ) {
+ else if ( current == wxT("ENTER") || current == wxT("RETURN") )
- }
- else if ( current == wxT("PGUP") ) {
+ else if ( current == wxT("PGUP") )
- }
- else if ( current == wxT("PGDN") ) {
+ else if ( current == wxT("PGDN") )
- }
- else if ( current == wxT("LEFT") ) {
+ else if ( current == wxT("LEFT") )
- }
- else if ( current == wxT("RIGHT") ) {
+ else if ( current == wxT("RIGHT") )
- }
- else if ( current == wxT("UP") ) {
+ else if ( current == wxT("UP") )
- }
- else if ( current == wxT("DOWN") ) {
+ else if ( current == wxT("DOWN") )
- }
- else if ( current == wxT("HOME") ) {
+ else if ( current == wxT("HOME") )
- }
- else if ( current == wxT("END") ) {
+ else if ( current == wxT("END") )
- }
- else if ( current == wxT("SPACE") ) {
+ else if ( current == wxT("SPACE") )
- }
- else if ( current == wxT("TAB") ) {
+ else if ( current == wxT("TAB") )
+ else if ( current == wxT("ESC") || current == wxT("ESCAPE") ) {
+ keyCode = WXK_ESCAPE;
else
{
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),
else
{
wxLogDebug(wxT("Unrecognized accel key '%s', accel string ignored."),