From: Vadim Zeitlin Date: Sun, 26 Dec 1999 21:54:12 +0000 (+0000) Subject: more unused param warnings fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/406005d21b612ca71c2066db8f9d4873ab8cd51a more unused param warnings fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/tbarsmpl.cpp b/src/generic/tbarsmpl.cpp index e2a28f3f7e..80c03b97f1 100644 --- a/src/generic/tbarsmpl.cpp +++ b/src/generic/tbarsmpl.cpp @@ -164,7 +164,8 @@ wxToolBarToolBase *wxToolBarSimple::AddTool(int id, helpString1, helpString2); } -bool wxToolBarSimple::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase) +bool wxToolBarSimple::DoInsertTool(size_t WXUNUSED(pos), + wxToolBarToolBase *toolBase) { wxToolBarToolSimple *tool = (wxToolBarToolSimple *)toolBase; diff --git a/src/generic/treectrl.cpp b/src/generic/treectrl.cpp index 151c9b78d3..5055888bc7 100644 --- a/src/generic/treectrl.cpp +++ b/src/generic/treectrl.cpp @@ -273,7 +273,7 @@ wxTreeEvent::wxTreeEvent( wxEventType commandType, int id ) wxGenericTreeItem::wxGenericTreeItem(wxGenericTreeItem *parent, const wxString& text, - wxDC& dc, + wxDC& WXUNUSED(dc), int image, int selImage, wxTreeItemData *data) : m_text(text)