X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b3d52fc711082b49968f02ee54b54bab9c9d129..a685dd314cc5daeb1492a4a57f475df91d6cd126:/contrib/src/stc/PlatWX.cpp 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 }