diff options
author | B Stack <bgstack15@gmail.com> | 2021-01-04 13:48:35 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-01-04 13:48:35 +0000 |
commit | edb1c4482c0a0d91bddfee6e1f9fce234e59840a (patch) | |
tree | 494f9fc32eeee34c6c46611ae0137c25a79517a4 /wx+/image_tools.h | |
parent | Merge branch '11.4' into 'master' (diff) | |
parent | add upstream 11.5 (diff) | |
download | FreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.tar.gz FreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.tar.bz2 FreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.zip |
Merge branch '11.5' into 'master'11.5
add upstream 11.5
See merge request opensource-tracking/FreeFileSync!29
Diffstat (limited to 'wx+/image_tools.h')
-rw-r--r-- | wx+/image_tools.h | 8 |
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 |