diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 43de0255b0..8f41d782f2 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -566,7 +566,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event ) } #endif // __WXMSW__ - if ( child->CanAcceptFocusFromKeyboard() ) + if ( child->CanAcceptFocus() ) { // if we're setting the focus to a child panel we should prevent it // from giving it to the child which had the focus the last time