]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't need to use wxHAVE_RAW_BITMAP any more.
authorRobin Dunn <robin@alldunn.com>
Sun, 9 Mar 2008 03:24:38 +0000 (03:24 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 9 Mar 2008 03:24:38 +0000 (03:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/stc/PlatWX.cpp

index 6a5cc02735f65c9277518ca1d763096b618225b0..299aea9e9dddde46201fa52f332233a3c1a5a8b5 100644 (file)
@@ -32,9 +32,7 @@
 #include "wx/imaglist.h"
 #include "wx/tokenzr.h"
 
-#ifdef wxHAVE_RAW_BITMAP
 #include "wx/rawbmp.h"
-#endif
 
 #include "Platform.h"
 #include "PlatWX.h"
@@ -368,7 +366,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);
@@ -429,13 +426,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) {