diff --git a/src/osx/combobox_osx.cpp b/src/osx/combobox_osx.cpp index cd4fc9518a..f13da37700 100644 --- a/src/osx/combobox_osx.cpp +++ b/src/osx/combobox_osx.cpp @@ -200,12 +200,12 @@ void wxComboBox::SetString(unsigned int n, const wxString& s) SetValue(s); // changing the item in the list won't update the display item } -void wxComboBox::EnableTextChangedEvents(bool enable) +void wxComboBox::EnableTextChangedEvents(bool WXUNUSED(enable)) { wxFAIL_MSG("Method Not Implemented."); } -bool wxComboBox::OSXHandleClicked( double timestampsec ) +bool wxComboBox::OSXHandleClicked( double WXUNUSED(timestampsec) ) { wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, m_windowId ); event.SetInt(GetSelection()); diff --git a/src/osx/core/evtloop_cf.cpp b/src/osx/core/evtloop_cf.cpp index eec3c3bfb0..4e4dcd0aca 100644 --- a/src/osx/core/evtloop_cf.cpp +++ b/src/osx/core/evtloop_cf.cpp @@ -153,7 +153,7 @@ void wxObserverCallBack(CFRunLoopObserverRef observer, CFRunLoopActivity activit eventloop->ObserverCallBack(observer, activity); } -void wxCFEventLoop::ObserverCallBack(CFRunLoopObserverRef observer, int activity) +void wxCFEventLoop::ObserverCallBack(CFRunLoopObserverRef WXUNUSED(observer), int activity) { if ( activity & kCFRunLoopBeforeTimers ) {