]> git.saurik.com Git - wxWidgets.git/commitdiff
more unused param warnings fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Dec 1999 21:54:12 +0000 (21:54 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Dec 1999 21:54:12 +0000 (21:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tbarsmpl.cpp
src/generic/treectrl.cpp

index e2a28f3f7ec59e49d11831ab9f8cae1045504cda..80c03b97f17fac3b1e0678b2c1c178518e4ad9de 100644 (file)
@@ -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;
 
index 151c9b78d3a0646b8c9cb06430dc9862595da9aa..5055888bc7c0a9d986f7c512f3ccb0d7b3cbebf0 100644 (file)
@@ -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)