summaryrefslogtreecommitdiff
path: root/src/mir_app/src/auth.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-02 15:58:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-02 15:58:09 +0300
commitb97afa71c6593939d96244cd19053846b9992a61 (patch)
tree410fbcca35b76bd68793e8f04271746ba079bda4 /src/mir_app/src/auth.cpp
parentb348c6840a351158d0c6c544147ba96f23cf825c (diff)
Button_SetIcon_IcoLib - a helper to set MButton's icon using an icolib handle
Diffstat (limited to 'src/mir_app/src/auth.cpp')
-rw-r--r--src/mir_app/src/auth.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/auth.cpp b/src/mir_app/src/auth.cpp
index d6c76c1bfb..cc7716708a 100644
--- a/src/mir_app/src/auth.cpp
+++ b/src/mir_app/src/auth.cpp
@@ -54,8 +54,8 @@ public:
bool OnInitDialog() override
{
- Button_SetIcon_IcoLib(m_hwnd, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details"));
- Button_SetIcon_IcoLib(m_hwnd, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list"));
+ Button_SetSkin_IcoLib(m_hwnd, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details"));
+ Button_SetSkin_IcoLib(m_hwnd, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list"));
int iBlobSize = db_event_getBlobSize(m_hDbEvent);
if (iBlobSize == -1)
@@ -201,8 +201,8 @@ public:
bool OnInitDialog() override
{
- Button_SetIcon_IcoLib(m_hwnd, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details"));
- Button_SetIcon_IcoLib(m_hwnd, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list"));
+ Button_SetSkin_IcoLib(m_hwnd, IDC_DETAILS, SKINICON_OTHER_USERDETAILS, LPGEN("View user's details"));
+ Button_SetSkin_IcoLib(m_hwnd, IDC_ADD, SKINICON_OTHER_ADDCONTACT, LPGEN("Add contact permanently to list"));
// blob is: uin(DWORD), hcontact(HANDLE), nick(ASCIIZ), first(ASCIIZ), last(ASCIIZ), email(ASCIIZ)
DBEVENTINFO dbei = {};