From da2f6baf7c9e692f5e3b9afd479c0db983735688 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 9 Mar 2008 03:21:11 +0000 Subject: [PATCH] Don't need to use wxHAVE_RAW_BITMAP any more. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/stc/PlatWX.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index 68e32fc29f..c587f89dde 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -14,9 +14,7 @@ #include "wx/imaglist.h" #include "wx/tokenzr.h" -#ifdef wxHAVE_RAW_BITMAP #include "wx/rawbmp.h" -#endif #include "Platform.h" #include "PlatWX.h" @@ -348,7 +346,6 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourAllocated fill, int alphaFill, ColourAllocated outline, int alphaOutline, int /*flags*/) { -#ifdef wxHAVE_RAW_BITMAP // TODO: do something with cornerSize wxUnusedVar(cornerSize); @@ -410,13 +407,6 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, // Draw the bitmap hdc->DrawBitmap(bmp, r.x, r.y, true); - -#else - wxUnusedVar(cornerSize); - wxUnusedVar(alphaFill); - wxUnusedVar(alphaOutline); - RectangleDraw(rc, outline, fill); -#endif } void SurfaceImpl::Ellipse(PRectangle rc, ColourAllocated fore, ColourAllocated back) {