X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/423939b29aab373e5da156c857265d7a5604f613..d58526d55433162cef8ad2ed7f422689862c3019:/src/osx/button_osx.cpp?ds=sidebyside diff --git a/src/osx/button_osx.cpp b/src/osx/button_osx.cpp index 22f2ef156b..70be0e99ce 100644 --- a/src/osx/button_osx.cpp +++ b/src/osx/button_osx.cpp @@ -66,13 +66,13 @@ wxWindow *wxButton::SetDefault() return btnOldDefault; } -void wxButton::Command (wxCommandEvent & event) +void wxButton::Command (wxCommandEvent & WXUNUSED(event)) { m_peer->PerformClick() ; // ProcessCommand(event); } -bool wxButton::OSXHandleClicked( double timestampsec ) +bool wxButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) { wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId); event.SetEventObject(this); @@ -111,7 +111,7 @@ bool wxDisclosureTriangle::IsOpen() const return m_peer->GetValue() == 1; } -bool wxDisclosureTriangle::OSXHandleClicked( double timestampsec ) +bool wxDisclosureTriangle::OSXHandleClicked( double WXUNUSED(timestampsec) ) { // Just emit button event for now wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, m_windowId);