]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/PlatWX.cpp
GetLabelTop should return the stripped label, for compatibility.
[wxWidgets.git] / src / stc / PlatWX.cpp
index 6d5e4a622b864a112730088b8b1e500a023320ba..153de8cc573832c464694ac9419dca425aa502a3 100644 (file)
@@ -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());