X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0faf03bf97720044ae71c72beb4f995425ea174d..6178debcd342963974dbdce6ac2ddb2fbe89e42a:/src/osx/checkbox_osx.cpp diff --git a/src/osx/checkbox_osx.cpp b/src/osx/checkbox_osx.cpp index 4a0b46ecd8..8ca03f2d34 100644 --- a/src/osx/checkbox_osx.cpp +++ b/src/osx/checkbox_osx.cpp @@ -80,11 +80,11 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState val) m_peer->SetValue( val ) ; } -bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) ) +bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) ) { bool sendEvent = true; wxCheckBoxState newState = Get3StateValue(); - + if ( !m_peer->ButtonClickDidStateChange() ) { wxCheckBoxState origState ;