diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-06 16:51:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-06 16:51:39 +0000 |
commit | 5e49edfe66308d79bd8095acb1c89d0e987c7aa4 (patch) | |
tree | 950fc1055228f15e2627bc5bafd5bfdfd987db8f /plugins/FloatingContacts | |
parent | 3bb087726db613aad9c1e61332fda7300600f60c (diff) |
Clist_GetImageList()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/FloatingContacts/src/stdafx.h | 1 | ||||
-rw-r--r-- | plugins/FloatingContacts/src/thumbs.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 0988542780..0f7b433256 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -211,7 +211,7 @@ static int OnContactDragStop(WPARAM hContact, LPARAM) static int OnSkinIconsChanged(WPARAM, LPARAM)
{
// Get handle to the image list
- himlMiranda = (HIMAGELIST)CallService(MS_CLIST_GETICONSIMAGELIST, 0, 0);
+ himlMiranda = Clist_GetImageList();
// Update thumbs
for (int i = 0; i < thumbList.getCount(); ++i)
diff --git a/plugins/FloatingContacts/src/stdafx.h b/plugins/FloatingContacts/src/stdafx.h index b983665732..fb438647d6 100644 --- a/plugins/FloatingContacts/src/stdafx.h +++ b/plugins/FloatingContacts/src/stdafx.h @@ -6,6 +6,7 @@ #include <assert.h>
#include <math.h>
#include <Shlwapi.h>
+#include <CommCtrl.h>
#include <newpluginapi.h>
#include <m_system_cpp.h>
diff --git a/plugins/FloatingContacts/src/thumbs.cpp b/plugins/FloatingContacts/src/thumbs.cpp index 8fb1a3c5f4..f1d3447e74 100644 --- a/plugins/FloatingContacts/src/thumbs.cpp +++ b/plugins/FloatingContacts/src/thumbs.cpp @@ -237,7 +237,7 @@ void ThumbInfo::ResizeThumb() {
int index = FLT_FONTID_NOTONLIST;
- himlMiranda = (HIMAGELIST)CallService(MS_CLIST_GETICONSIMAGELIST, 0, 0);
+ himlMiranda = Clist_GetImageList();
if (himlMiranda == NULL)
return;
|