From: Stefan Csomor Date: Sat, 24 Aug 2002 16:29:33 +0000 (+0000) Subject: wxUNUSED X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5115c51a822ab5a4d4184b4a07c97e6bddba8bef wxUNUSED git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 07c86add46..27cd473d36 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -546,15 +546,15 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), return TRUE; } -void wxToolBar::DoSetToggle(wxToolBarToolBase *t, bool toggle) +void wxToolBar::DoSetToggle(wxToolBarToolBase *WXUNUSED(tool), bool WXUNUSED(toggle)) { - wxToolBarTool *tool = (wxToolBarTool *)t; - // TODO: set toggle state + wxFAIL_MSG( _T("not implemented") ); } -bool wxToolBar::DoDeleteTool(size_t pos, wxToolBarToolBase *tool) +bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *WXUNUSED(tool)) { - return TRUE ; + wxFAIL_MSG( _T("not implemented") ); + return TRUE ; } void wxToolBar::OnPaint(wxPaintEvent& event) diff --git a/src/mac/toolbar.cpp b/src/mac/toolbar.cpp index 07c86add46..27cd473d36 100644 --- a/src/mac/toolbar.cpp +++ b/src/mac/toolbar.cpp @@ -546,15 +546,15 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), return TRUE; } -void wxToolBar::DoSetToggle(wxToolBarToolBase *t, bool toggle) +void wxToolBar::DoSetToggle(wxToolBarToolBase *WXUNUSED(tool), bool WXUNUSED(toggle)) { - wxToolBarTool *tool = (wxToolBarTool *)t; - // TODO: set toggle state + wxFAIL_MSG( _T("not implemented") ); } -bool wxToolBar::DoDeleteTool(size_t pos, wxToolBarToolBase *tool) +bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *WXUNUSED(tool)) { - return TRUE ; + wxFAIL_MSG( _T("not implemented") ); + return TRUE ; } void wxToolBar::OnPaint(wxPaintEvent& event)