X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/506f9e92cbb2e6948ffa281fe07634cdf0276454..f0fbbe236452ae27a7577deafbbc44ace2c209e7:/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