No real changes, just rename a variable.

"focussed" spelling is unusual and inconsistent with "focused" used in many
other places in the same file, so renamed "focussed_child_of_parent" and also
use standard camelCase naming convention for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-08-03 00:45:38 +00:00
parent ec3f5752a0
commit 2a0777a8f0

View File

@@ -472,18 +472,18 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
// looping inside this panel (normally, the focus will go to
// the next/previous item after this panel in the parent
// panel).
wxWindow *focussed_child_of_parent = m_winParent;
wxWindow *focusedParent = m_winParent;
while ( parent )
{
// we don't want to tab into a different dialog or frame
if ( focussed_child_of_parent->IsTopLevel() )
if ( focusedParent->IsTopLevel() )
break;
event.SetCurrentFocus( focussed_child_of_parent );
event.SetCurrentFocus( focusedParent );
if ( parent->GetEventHandler()->ProcessEvent( event ) )
return;
focussed_child_of_parent = parent;
focusedParent = parent;
parent = parent->GetParent();
}