VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Resources.cpp
diff options
context:
space:
mode:
authorsardanap <sardanap@hotmail.com>2023-10-05 00:08:07 +0200
committerGitHub <noreply@github.com>2023-10-05 00:08:07 +0200
commit01b49a201741d04b7a0466c856c4c37a36af316c (patch)
tree4b022d159a7991b987529793349b5303f194505a /src/Main/Resources.cpp
parentaf5d91387e2e4fbd082e14aac5775c1e475f4904 (diff)
downloadVeraCrypt-01b49a201741d04b7a0466c856c4c37a36af316c.tar.gz
VeraCrypt-01b49a201741d04b7a0466c856c4c37a36af316c.zip
fix for corrupted icons (#1226)
Diffstat (limited to 'src/Main/Resources.cpp')
-rw-r--r--src/Main/Resources.cpp2
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);