X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819850ff060cc66221a14661a339f2c841fd4f0b..c4e43bea7b24f7b7f58e3f87786490cd81abf0a7:/src/stc/PlatWX.cpp diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index 6d5e4a622b..153de8cc57 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -35,6 +35,7 @@ #include "Platform.h" #include "PlatWX.h" #include "wx/stc/stc.h" +#include "wx/stc/private.h" @@ -371,7 +372,6 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, wxRect r = wxRectFromPRectangle(rc); wxBitmap bmp(r.width, r.height, 32); wxAlphaPixelData pixData(bmp); - pixData.UseAlpha(); // Set the fill pixels ColourDesired cdf(fill.AsLong());