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); diff --git a/src/osx/checkbox_osx.cpp b/src/osx/checkbox_osx.cpp index 49751e2acd..4a0b46ecd8 100644 --- a/src/osx/checkbox_osx.cpp +++ b/src/osx/checkbox_osx.cpp @@ -80,7 +80,7 @@ void wxCheckBox::DoSet3StateValue(wxCheckBoxState val) m_peer->SetValue( val ) ; } -bool wxCheckBox::OSXHandleClicked( double timestampsec ) +bool wxCheckBox::OSXHandleClicked( double WXUNUSED(timestampsec) ) { bool sendEvent = true; wxCheckBoxState newState = Get3StateValue(); diff --git a/src/osx/choice_osx.cpp b/src/osx/choice_osx.cpp index 15e6870684..a2c780ec58 100644 --- a/src/osx/choice_osx.cpp +++ b/src/osx/choice_osx.cpp @@ -230,7 +230,7 @@ void * wxChoice::DoGetItemClientData(unsigned int n) const return (void *)m_datas[n]; } -bool wxChoice::OSXHandleClicked( double timestampsec ) +bool wxChoice::OSXHandleClicked( double WXUNUSED(timestampsec) ) { wxCommandEvent event( wxEVT_COMMAND_CHOICE_SELECTED, m_windowId ); diff --git a/src/osx/listbox_osx.cpp b/src/osx/listbox_osx.cpp index 9ab8efb30e..73ddffafbe 100644 --- a/src/osx/listbox_osx.cpp +++ b/src/osx/listbox_osx.cpp @@ -215,7 +215,7 @@ void wxListBox::GetValueCallback( unsigned int n, wxListWidgetColumn* col , wxLi value.Set( GetString( n ) ); } -void wxListBox::SetValueCallback( unsigned int n, wxListWidgetColumn* col , wxListWidgetCellValue& value ) +void wxListBox::SetValueCallback( unsigned int WXUNUSED(n), wxListWidgetColumn* WXUNUSED(col) , wxListWidgetCellValue& WXUNUSED(value) ) { } diff --git a/src/osx/nonownedwnd_osx.cpp b/src/osx/nonownedwnd_osx.cpp index e1c86794ca..ed53785787 100644 --- a/src/osx/nonownedwnd_osx.cpp +++ b/src/osx/nonownedwnd_osx.cpp @@ -245,7 +245,7 @@ void wxNonOwnedWindow::HandleResized( double timestampsec ) wxWindowMac::MacSuperChangedPosition() ; // like this only children will be notified } -void wxNonOwnedWindow::HandleResizing( double timestampsec, wxRect* rect ) +void wxNonOwnedWindow::HandleResizing( double WXUNUSED(timestampsec), wxRect* rect ) { wxRect r = *rect ; diff --git a/src/osx/notebook_osx.cpp b/src/osx/notebook_osx.cpp index a0824ff991..0f3c83577e 100644 --- a/src/osx/notebook_osx.cpp +++ b/src/osx/notebook_osx.cpp @@ -282,7 +282,7 @@ bool wxNotebook::InsertPage(size_t nPage, return true; } -int wxNotebook::HitTest(const wxPoint& pt, long * flags) const +int wxNotebook::HitTest(const wxPoint& WXUNUSED(pt), long * WXUNUSED(flags)) const { int resultV = wxNOT_FOUND; #if 0 @@ -510,7 +510,7 @@ void wxNotebook::ChangePage(int nOldSel, int nSel) m_peer->SetValue( m_nSelection + 1 ) ; } -bool wxNotebook::OSXHandleClicked( double timestampsec ) +bool wxNotebook::OSXHandleClicked( double WXUNUSED(timestampsec) ) { bool status = false ; diff --git a/src/osx/radiobut_osx.cpp b/src/osx/radiobut_osx.cpp index c85c62e8bd..65ef802052 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() ) { diff --git a/src/osx/scrolbar_osx.cpp b/src/osx/scrolbar_osx.cpp index 9b8371a172..22c25b2f19 100644 --- a/src/osx/scrolbar_osx.cpp +++ b/src/osx/scrolbar_osx.cpp @@ -83,7 +83,7 @@ void wxScrollBar::Command( wxCommandEvent& event ) ProcessCommand( event ); } -bool wxScrollBar::OSXHandleClicked( double timestampsec ) +bool wxScrollBar::OSXHandleClicked( double WXUNUSED(timestampsec) ) { int new_pos = m_peer->GetValue(); diff --git a/src/osx/slider_osx.cpp b/src/osx/slider_osx.cpp index ce4815ad3d..6a7810e00c 100644 --- a/src/osx/slider_osx.cpp +++ b/src/osx/slider_osx.cpp @@ -296,7 +296,7 @@ void wxSlider::TriggerScrollEvent( wxEventType scrollEvent) HandleWindowEvent( cevent ); } -bool wxSlider::OSXHandleClicked( double timestampsec ) +bool wxSlider::OSXHandleClicked( double WXUNUSED(timestampsec) ) { TriggerScrollEvent(wxEVT_SCROLL_THUMBRELEASE); diff --git a/src/osx/spinbutt_osx.cpp b/src/osx/spinbutt_osx.cpp index b8c669c154..f16fe1e072 100644 --- a/src/osx/spinbutt_osx.cpp +++ b/src/osx/spinbutt_osx.cpp @@ -79,7 +79,7 @@ void wxSpinButton::SendThumbTrackEvent() HandleWindowEvent( event ); } -bool wxSpinButton::OSXHandleClicked( double timestampsec ) +bool wxSpinButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) { // all events have already been processed return true; diff --git a/src/osx/tglbtn_osx.cpp b/src/osx/tglbtn_osx.cpp index 05d94f6ea5..64997c2d73 100644 --- a/src/osx/tglbtn_osx.cpp +++ b/src/osx/tglbtn_osx.cpp @@ -89,7 +89,7 @@ void wxToggleButton::Command(wxCommandEvent & event) ProcessCommand(event); } -bool wxToggleButton::OSXHandleClicked( double timestampsec ) +bool wxToggleButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) { wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, m_windowId); event.SetInt(GetValue()); @@ -156,7 +156,7 @@ void wxBitmapToggleButton::Command(wxCommandEvent & event) ProcessCommand(event); } -bool wxBitmapToggleButton::OSXHandleClicked( double timestampsec ) +bool wxBitmapToggleButton::OSXHandleClicked( double WXUNUSED(timestampsec) ) { wxCommandEvent event(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, m_windowId); event.SetInt(GetValue()); diff --git a/src/osx/window_osx.cpp b/src/osx/window_osx.cpp index bb4f4d691c..4f99e89bc1 100644 --- a/src/osx/window_osx.cpp +++ b/src/osx/window_osx.cpp @@ -2158,7 +2158,7 @@ Rect wxMacGetBoundsForControl( wxWindowMac* window , const wxPoint& pos , const return bounds ; } -bool wxWindowMac::OSXHandleClicked( double timestampsec ) +bool wxWindowMac::OSXHandleClicked( double WXUNUSED(timestampsec) ) { return false; }