fix for corrupted icons (#1226)

This commit is contained in:
sardanap 2023-10-05 00:08:07 +02:00 committed by GitHub
parent af5d91387e
commit 01b49a2017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);