]> git.saurik.com Git - wxWidgets.git/commitdiff
use CanAcceptFocus() instead of CanAcceptFocusFromKeyboard() when checking if we...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 11 Feb 2008 01:21:46 +0000 (01:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 11 Feb 2008 01:21:46 +0000 (01:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/containr.cpp

index 43de0255b06a98d0b881e65a8649f950c7ec4a82..8f41d782f2f2848311b3a96ae062f70f900d9558 100644 (file)
@@ -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