X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4021a7920ab9f41b1553e28f1177b6e39a6d901..0738b901b17340f09766524b8d9d79e9ed1268e7:/src/osx/radiobut_osx.cpp diff --git a/src/osx/radiobut_osx.cpp b/src/osx/radiobut_osx.cpp index c85c62e8bd..f1bd3fa49b 100644 --- a/src/osx/radiobut_osx.cpp +++ b/src/osx/radiobut_osx.cpp @@ -106,7 +106,7 @@ void wxRadioButton::Command(wxCommandEvent& event) ProcessCommand( event ); } -bool wxRadioButton::OSXHandleClicked( double timestampsec ) +bool wxRadioButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) { if ( !m_peer->ButtonClickDidStateChange() ) { @@ -160,7 +160,7 @@ wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle) } void wxRadioButton::RemoveFromCycle() -{ +{ if ((m_cycle == NULL) || (m_cycle == this)) return;