summaryrefslogtreecommitdiff
path: root/wx+/image_tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/image_tools.h')
-rw-r--r--wx+/image_tools.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/wx+/image_tools.h b/wx+/image_tools.h
index 5a799a8b..1b4fbb43 100644
--- a/wx+/image_tools.h
+++ b/wx+/image_tools.h
@@ -56,14 +56,6 @@ inline wxImage shrinkImage(const wxImage& img, int maxSize) { return shrinkImage
wxImage resizeCanvas(const wxImage& img, wxSize newSize, int alignment);
-inline
-wxImage getTransparentPixel()
-{
- wxImage dummyImage(1, 1);
- dummyImage.SetAlpha();
- ::memset(dummyImage.GetAlpha(), 1 /*opacity*/, 1 * 1); //suprise: can't use wxIMAGE_ALPHA_TRANSPARENT(0), painted black on Windows!
- return dummyImage;
-}
inline
bgstack15