X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f081f02ead106131223cb8078713dbc7844e885..bf60426831535738b1b784629f08e9dd00bf9ecc:/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)