diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index 338588c07b..7ffe20a338 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -3712,7 +3712,7 @@ bool wxWidgetCocoaImpl::DoHandleKeyNavigation(const wxKeyEvent &event) /* CTRL-TAB changes the (parent) window, i.e. switch notebook page */ new_event.SetWindowChange( event.ControlDown() ); new_event.SetCurrentFocus( focus ); - handled = iter->HandleWindowEvent( new_event ) && !new_event.GetSkipped(); + handled = iter->HandleWindowEvent( new_event ); } iter = iter->GetParent() ; diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index 6ab7dc8152..1b429d8f05 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -2605,11 +2605,7 @@ bool wxWindowMac::OSXHandleKeyEvent( wxKeyEvent& event ) #endif // wxUSE_ACCEL if ( !handled ) - { handled = HandleWindowEvent( event ) ; - if ( handled && event.GetSkipped() ) - handled = false ; - } return handled ; }