diff options
author | sardanap <sardanap@hotmail.com> | 2023-10-05 00:08:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 00:08:07 +0200 |
commit | 01b49a201741d04b7a0466c856c4c37a36af316c (patch) | |
tree | 4b022d159a7991b987529793349b5303f194505a | |
parent | af5d91387e2e4fbd082e14aac5775c1e475f4904 (diff) | |
download | VeraCrypt-01b49a201741d04b7a0466c856c4c37a36af316c.tar.gz VeraCrypt-01b49a201741d04b7a0466c856c4c37a36af316c.zip |
fix for corrupted icons (#1226)
-rw-r--r-- | src/Main/Resources.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Resources.cpp b/src/Main/Resources.cpp index d9a787a5..58030c1e 100644 --- a/src/Main/Resources.cpp +++ b/src/Main/Resources.cpp @@ -189,7 +189,7 @@ namespace VeraCrypt wxImage image (stream); image.Resize (wxSize (16, 12), wxPoint (0, 0)); -# ifdef __WXGTK__ +# if defined __WXGTK__ || defined TC_MACOSX return wxBitmap (image.ConvertToMono (0, 0, 0), 1); # else return wxBitmap (image); |