X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..b895ab50e2804f1d281799254d7840d57592bdef:/src/osx/radiobut_osx.cpp diff --git a/src/osx/radiobut_osx.cpp b/src/osx/radiobut_osx.cpp index a2908a0cf2..c85c62e8bd 100644 --- a/src/osx/radiobut_osx.cpp +++ b/src/osx/radiobut_osx.cpp @@ -97,7 +97,7 @@ void wxRadioButton::SetValue(bool val) bool wxRadioButton::GetValue() const { - return m_peer->GetValue(); + return m_peer->GetValue() != 0; } void wxRadioButton::Command(wxCommandEvent& event) @@ -106,7 +106,7 @@ void wxRadioButton::Command(wxCommandEvent& event) ProcessCommand( event ); } -bool wxRadioButton::HandleClicked( double timestampsec ) +bool wxRadioButton::OSXHandleClicked( double timestampsec ) { if ( !m_peer->ButtonClickDidStateChange() ) {