summaryrefslogtreecommitdiff
path: root/wx+/image_tools.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-01-04 08:08:11 -0500
committerB Stack <bgstack15@gmail.com>2021-01-04 08:08:11 -0500
commitf9a264860c23b8381adbc0b9766e1b677a07da78 (patch)
tree494f9fc32eeee34c6c46611ae0137c25a79517a4 /wx+/image_tools.h
parentMerge branch '11.4' into 'master' (diff)
downloadFreeFileSync-f9a264860c23b8381adbc0b9766e1b677a07da78.tar.gz
FreeFileSync-f9a264860c23b8381adbc0b9766e1b677a07da78.tar.bz2
FreeFileSync-f9a264860c23b8381adbc0b9766e1b677a07da78.zip
add upstream 11.5
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