From f6147cfc0a6ef941b8091891f71dd70611d882e8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 11 May 1999 12:11:21 +0000 Subject: [PATCH] unussed param warning suppressed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/window.h | 2 +- src/common/docview.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/window.h b/include/wx/window.h index e0779b8..5edeba5 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -424,7 +424,7 @@ public: virtual void Clear() = 0; // adjust DC for drawing on this window - virtual void PrepareDC( wxDC &dc ) { } + virtual void PrepareDC( wxDC & WXUNUSED(dc) ) { } // the update region of the window contains the areas which must be // repainted by the program diff --git a/src/common/docview.cpp b/src/common/docview.cpp index a7a157a..2ea1501 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -1154,7 +1154,11 @@ wxDocTemplate *wxDocManager::FindTemplateForPath(const wxString& path) // template extension. wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates, +#ifdef __WXMSW__ int noTemplates, +#else + int WXUNUSED(noTemplates), +#endif wxString& path, long WXUNUSED(flags), bool WXUNUSED(save)) -- 2.7.4