mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-24 03:53:29 +01:00
fix for corrupted icons (#1226)
This commit is contained in:
parent
af5d91387e
commit
01b49a2017
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user