-bool wxWidgetCocoaImpl::DoHandleKeyEvent(NSEvent *event)
-{
- wxKeyEvent wxevent(wxEVT_KEY_DOWN);
- SetupKeyEvent( wxevent, event );
- wxevent.SetEventObject(GetWXPeer());
- bool result = GetWXPeer()->OSXHandleKeyEvent(wxevent);
-
- // no interpretKeyEvents here, but rerouting to native keyhandling
-
- return result;
-}
-