routing keys like ESC etc, fixes #13429
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
932d0768aa
commit
99d6720118
@ -200,6 +200,8 @@ long wxOSXTranslateCocoaKey( NSEvent* event, int eventType )
|
|||||||
int intchar = [s characterAtIndex: 0];
|
int intchar = [s characterAtIndex: 0];
|
||||||
if ( intchar >= NSF1FunctionKey && intchar <= NSF24FunctionKey )
|
if ( intchar >= NSF1FunctionKey && intchar <= NSF24FunctionKey )
|
||||||
retval = WXK_F1 + (intchar - NSF1FunctionKey );
|
retval = WXK_F1 + (intchar - NSF1FunctionKey );
|
||||||
|
else if ( intchar > 0 && intchar < 32 )
|
||||||
|
retval = intchar;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user