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)