diff options
author | B Stack <bgstack15@gmail.com> | 2021-01-04 08:08:11 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-01-04 08:08:11 -0500 |
commit | f9a264860c23b8381adbc0b9766e1b677a07da78 (patch) | |
tree | 494f9fc32eeee34c6c46611ae0137c25a79517a4 /wx+/image_tools.h | |
parent | Merge branch '11.4' into 'master' (diff) | |
download | FreeFileSync-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.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 |