git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15226
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( !child->GetEventHandler()->ProcessEvent(event) )
{
// everything is simple: just give focus to it
if ( !child->GetEventHandler()->ProcessEvent(event) )
{
// everything is simple: just give focus to it
+ child->SetFocusFromKbd();
m_winLastFocused = child;
}
m_winLastFocused = child;
}
_T("SetFocusToChild() => last child (0x%08x)."),
(*childLastFocused)->GetHandle());
_T("SetFocusToChild() => last child (0x%08x)."),
(*childLastFocused)->GetHandle());
- (*childLastFocused)->SetFocus();
+ (*childLastFocused)->SetFocusFromKbd();
child->GetHandle());
*childLastFocused = child; // should be redundant, but it is not
child->GetHandle());
*childLastFocused = child; // should be redundant, but it is not
+ child->SetFocusFromKbd();