X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e53b3d16de127872e39bf276f7e616b32f161645..f7ae43f080576ef142d3884073df298294860328:/src/osx/radiobut_osx.cpp diff --git a/src/osx/radiobut_osx.cpp b/src/osx/radiobut_osx.cpp index f091b9e039..a2908a0cf2 100644 --- a/src/osx/radiobut_osx.cpp +++ b/src/osx/radiobut_osx.cpp @@ -108,9 +108,12 @@ void wxRadioButton::Command(wxCommandEvent& event) bool wxRadioButton::HandleClicked( double timestampsec ) { - // if already set -> no action - if (GetValue()) - return true; + if ( !m_peer->ButtonClickDidStateChange() ) + { + // if already set -> no action + if (GetValue()) + return true; + } wxRadioButton *cycle; cycle = this->NextInCycle();