!m_winLastFocused->HasFlag(wxRB_SINGLE) )
{
wxRadioButton * const
- lastBtn = wx_static_cast(wxRadioButton *, m_winLastFocused);
+ lastBtn = static_cast<wxRadioButton *>(m_winLastFocused);
// cursor keys don't navigate out of a radio button group so
// find the correct radio button to focus
}
#endif // __WXMSW__
- if ( child->CanAcceptFocus() )
+ if ( child->CanAcceptFocusFromKeyboard() )
{
// if we're setting the focus to a child panel we should prevent it
// from giving it to the child which had the focus the last time