"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
// looping inside this panel (normally, the focus will go to
// the next/previous item after this panel in the parent
// panel).
// 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
while ( parent )
{
// we don't want to tab into a different dialog or frame
- if ( focussed_child_of_parent->IsTopLevel() )
+ if ( focusedParent->IsTopLevel() )
- event.SetCurrentFocus( focussed_child_of_parent );
+ event.SetCurrentFocus( focusedParent );
if ( parent->GetEventHandler()->ProcessEvent( event ) )
return;
if ( parent->GetEventHandler()->ProcessEvent( event ) )
return;
- focussed_child_of_parent = parent;
+ focusedParent = parent;
parent = parent->GetParent();
}
parent = parent->GetParent();
}