From 34353afa23f23d9bc3470896248b8c387465a4b2 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Mon, 10 Feb 2014 17:25:36 +0000 Subject: Miranda API sync with small compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Actman30/ua/i_opt_dlg.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Actman30/ua/i_opt_dlg.inc') diff --git a/plugins/Actman30/ua/i_opt_dlg.inc b/plugins/Actman30/ua/i_opt_dlg.inc index b7ff28483a..643aa253b7 100644 --- a/plugins/Actman30/ua/i_opt_dlg.inc +++ b/plugins/Actman30/ua/i_opt_dlg.inc @@ -372,7 +372,7 @@ begin li.iItem :=i; li.lParam :=i; li.pszText :=UActionList[i].szActDescr; - li.iImage:=ImageList_AddIcon(il, + li.iImage:=ImageList_ReplaceIcon(il, -1, HICON(CallService(MS_SKIN2_GETICONBYHANDLE,0,LPARAM(UActionList[i].hIcolibIcon)))); li.iItem :=SendMessageW(wnd,LVM_INSERTITEMW,0,LPARAM(@li)); @@ -405,7 +405,7 @@ begin li.mask :=LVIF_IMAGE; li.iSubItem:=0; li.iItem :=i; - li.iImage:=ImageList_AddIcon(il, + li.iImage:=ImageList_ReplaceIcon(il, -1, HICON(CallService(MS_SKIN2_GETICONBYHANDLE,0,TLPARAM(UActionList[i].hIcolibIcon)))); SendMessageW(wnd,LVM_SETITEM,0,TLPARAM(@li)); end; -- cgit v1.2.3