X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/506f9e92cbb2e6948ffa281fe07634cdf0276454..c363ead1e206e599d6564ac939ac7342d165e0e3:/src/common/containr.cpp diff --git a/src/common/containr.cpp b/src/common/containr.cpp index 43de0255b0..06ada8e7a2 100644 --- a/src/common/containr.cpp +++ b/src/common/containr.cpp @@ -533,7 +533,7 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event ) !m_winLastFocused->HasFlag(wxRB_SINGLE) ) { wxRadioButton * const - lastBtn = wx_static_cast(wxRadioButton *, m_winLastFocused); + lastBtn = static_cast(m_winLastFocused); // cursor keys don't navigate out of a radio button group so // find the correct radio button to focus