X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/819850ff060cc66221a14661a339f2c841fd4f0b..ab250e5c4756eaa8baa2df5a5f3594a4fd7685dd:/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());