X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f081f02ead106131223cb8078713dbc7844e885..cd3c2375e6fddd3d478a6776900c21aaeb2d0f08:/src/mac/carbon/radiobut.cpp diff --git a/src/mac/carbon/radiobut.cpp b/src/mac/carbon/radiobut.cpp index 7fcaaf579d..e94c762f1d 100644 --- a/src/mac/carbon/radiobut.cpp +++ b/src/mac/carbon/radiobut.cpp @@ -69,10 +69,10 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, void wxRadioButton::SetValue(bool val) { wxRadioButton *cycle; - if ( GetControlValue( (ControlHandle) m_macControl ) == val ) + if ( GetControl32BitValue( (ControlHandle) m_macControl ) == val ) return ; - ::SetControlValue( (ControlHandle) m_macControl , val ) ; + ::SetControl32BitValue( (ControlHandle) m_macControl , val ) ; if (val) { cycle=this->NextInCycle(); @@ -88,7 +88,7 @@ void wxRadioButton::SetValue(bool val) bool wxRadioButton::GetValue() const { - return ::GetControlValue( (ControlHandle) m_macControl ) ; + return ::GetControl32BitValue( (ControlHandle) m_macControl ) ; } void wxRadioButton::Command (wxCommandEvent & event)