From: Vadim Zeitlin Date: Wed, 3 Aug 2011 00:45:38 +0000 (+0000) Subject: No real changes, just rename a variable. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2a0777a8f079e4f2991f219dc641de3798143f79 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 --- diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 29756da696..910804bc4d 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -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(); }