X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..4868bfb17e1c8c9174fb4a6e29b601f0f0f7fa01:/src/osx/cocoa/taskbar.mm diff --git a/src/osx/cocoa/taskbar.mm b/src/osx/cocoa/taskbar.mm index 6c6b760274..f842ba2ccb 100644 --- a/src/osx/cocoa/taskbar.mm +++ b/src/osx/cocoa/taskbar.mm @@ -231,7 +231,7 @@ WX_NSMenu wxTaskBarIconDockImpl::CocoaDoGetDockNSMenu() return (WX_NSMenu)dockMenu->GetHMenu(); } -bool wxTaskBarIconDockImpl::SetIcon(const wxIcon& icon, const wxString& tooltip) +bool wxTaskBarIconDockImpl::SetIcon(const wxIcon& WXUNUSED(icon), const wxString& WXUNUSED(tooltip)) { wxMacAutoreleasePool pool; m_originalDockIcon = [[[NSApplication sharedApplication] applicationIconImage] retain]; @@ -246,7 +246,7 @@ bool wxTaskBarIconDockImpl::RemoveIcon() return true; } -bool wxTaskBarIconDockImpl::PopupMenu(wxMenu *menu) +bool wxTaskBarIconDockImpl::PopupMenu(wxMenu *WXUNUSED(menu)) { wxFAIL_MSG(wxT("You cannot force the Dock icon menu to popup")); return false; @@ -266,7 +266,7 @@ wxTaskBarIconCustomStatusItemImpl::~wxTaskBarIconCustomStatusItemImpl() { } -bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxIcon& icon, const wxString& tooltip) +bool wxTaskBarIconCustomStatusItemImpl::SetIcon(const wxIcon& icon, const wxString& WXUNUSED(tooltip)) { wxMacAutoreleasePool pool; if(!m_cocoaNSStatusItem) @@ -359,7 +359,7 @@ void wxTaskBarIconWindowCustom::OnMouseEvent(wxMouseEvent &event) m_taskBarIconImpl->GetTaskBarIcon()->ProcessEvent(tbiEvent); } -void wxTaskBarIconWindowCustom::OnPaint(wxPaintEvent &event) +void wxTaskBarIconWindowCustom::OnPaint(wxPaintEvent &WXUNUSED(event)) { wxPaintDC dc(this); // FIXME: This is a temporary hack until we can see real icons