From a3511a2e0647c6ec5191b40b96278f525f334c0d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 31 Aug 2006 16:34:57 +0000 Subject: [PATCH] supress some unused parameter warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 9 ++++++++- src/stc/PlatWX.cpp | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index e19b281f8c..f41304a50a 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -349,6 +349,10 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated outline, int alphaOutline, int /*flags*/) { #ifdef wxHAVE_RAW_BITMAP + + // TODO: do something with cornerSize + wxUnusedVar(cornerSize); + int x, y; wxRect r = wxRectFromPRectangle(rc); wxBitmap bmp(r.width, r.height, 32); @@ -408,7 +412,10 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, hdc->DrawBitmap(bmp, r.x, r.y, true); #else - RectangleDraw(rc, outline, fill); + wxUnusedVar(cornerSize); + wxUnusedVar(alphaFill); + wxUnusedVar(alphaOutline); + RectangleDraw(rc, outline, fill); #endif } diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index e19b281f8c..f41304a50a 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -349,6 +349,10 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated outline, int alphaOutline, int /*flags*/) { #ifdef wxHAVE_RAW_BITMAP + + // TODO: do something with cornerSize + wxUnusedVar(cornerSize); + int x, y; wxRect r = wxRectFromPRectangle(rc); wxBitmap bmp(r.width, r.height, 32); @@ -408,7 +412,10 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, hdc->DrawBitmap(bmp, r.x, r.y, true); #else - RectangleDraw(rc, outline, fill); + wxUnusedVar(cornerSize); + wxUnusedVar(alphaFill); + wxUnusedVar(alphaOutline); + RectangleDraw(rc, outline, fill); #endif } -- 2.50.0