if ( !child->GetEventHandler()->ProcessEvent(event) )
{
// everything is simple: just give focus to it
- child->SetFocus();
+ child->SetFocusFromKbd();
m_winLastFocused = child;
}
_T("SetFocusToChild() => last child (0x%08x)."),
(*childLastFocused)->GetHandle());
- (*childLastFocused)->SetFocus();
+ (*childLastFocused)->SetFocusFromKbd();
return TRUE;
}
else
child->GetHandle());
*childLastFocused = child; // should be redundant, but it is not
- child->SetFocus();
+ child->SetFocusFromKbd();
return TRUE;
}