mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
fix for corrupted icons (#1226)
This commit is contained in:
@@ -189,7 +189,7 @@ namespace VeraCrypt
|
|||||||
wxImage image (stream);
|
wxImage image (stream);
|
||||||
image.Resize (wxSize (16, 12), wxPoint (0, 0));
|
image.Resize (wxSize (16, 12), wxPoint (0, 0));
|
||||||
|
|
||||||
# ifdef __WXGTK__
|
# if defined __WXGTK__ || defined TC_MACOSX
|
||||||
return wxBitmap (image.ConvertToMono (0, 0, 0), 1);
|
return wxBitmap (image.ConvertToMono (0, 0, 0), 1);
|
||||||
# else
|
# else
|
||||||
return wxBitmap (image);
|
return wxBitmap (image);
|
||||||
|
|||||||
Reference in New Issue
Block a user