GUI icons revised

This commit is contained in:
2016-09-22 11:10:01 +02:00
parent 10054b0240
commit 49e3cee12d
2 changed files with 5 additions and 5 deletions

View File

@@ -848,8 +848,8 @@ public:
{
// Load and set icon.
winstd::library lib_shell32;
if (lib_shell32.load(_T("shell32.dll"), NULL, LOAD_LIBRARY_AS_DATAFILE | LOAD_LIBRARY_AS_IMAGE_RESOURCE))
m_credentials_icon->SetIcon(wxLoadIconFromResource(lib_shell32, MAKEINTRESOURCE(269)));
if (lib_shell32.load(_T("imageres.dll"), NULL, LOAD_LIBRARY_AS_DATAFILE | LOAD_LIBRARY_AS_IMAGE_RESOURCE))
m_credentials_icon->SetIcon(wxLoadIconFromResource(lib_shell32, MAKEINTRESOURCE(82)));
bool layout = false;
if (!m_prov.m_lbl_alt_credential.empty()) {