routing to common code, see #15784
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
26f22d609f
commit
45bb71b485
@ -2703,14 +2703,7 @@ bool wxWidgetCocoaImpl::DoHandleCharEvent(NSEvent *event, NSString *text)
|
||||
|
||||
if ( event != nil && length == 1)
|
||||
{
|
||||
UInt32 modifiers = [event modifierFlags] ;
|
||||
wxevent.m_shiftDown = modifiers & NSShiftKeyMask;
|
||||
wxevent.m_rawControlDown = modifiers & NSControlKeyMask;
|
||||
wxevent.m_altDown = modifiers & NSAlternateKeyMask;
|
||||
wxevent.m_controlDown = modifiers & NSCommandKeyMask;
|
||||
|
||||
wxevent.m_rawCode = [event keyCode];
|
||||
wxevent.m_rawFlags = modifiers;
|
||||
SetupKeyEvent(wxevent,event,text);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user