summaryrefslogtreecommitdiff
path: root/plugins/Actman/dlgshare.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman/dlgshare.pas')
-rw-r--r--plugins/Actman/dlgshare.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actman/dlgshare.pas b/plugins/Actman/dlgshare.pas
index 0fc89a975b..d66d059ae5 100644
--- a/plugins/Actman/dlgshare.pas
+++ b/plugins/Actman/dlgshare.pas
@@ -55,7 +55,7 @@ end;
function OptSetButtonIcon(btn:HWND;num:integer):HICON;
begin
- result:=CallService(MS_SKIN2_GETICONBYHANDLE,0,LPARAM(Icons[num].hIcolib));
+ result:=IcoLib_GetIconByHandle(Icons[num].hIcolib,0);
SendMessage(btn,BM_SETIMAGE,IMAGE_ICON,result);
end;