summaryrefslogtreecommitdiff
path: root/plugins/Watrack/waticons.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/waticons.pas')
-rw-r--r--plugins/Watrack/waticons.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Watrack/waticons.pas b/plugins/Watrack/waticons.pas
index 3de092b5c7..de0c5c17d0 100644
--- a/plugins/Watrack/waticons.pas
+++ b/plugins/Watrack/waticons.pas
@@ -190,8 +190,7 @@ end;
function GetIcon(action:integer;stat:integer):cardinal;
begin
- result:=CallService(MS_SKIN2_GETICON,0,
- lparam(CtrlIcoLib[action][stat].name));
+ result:=IcoLib_GetIcon(CtrlIcoLib[action][stat].name,0);
end;
function GetIconDescr(action:integer):pAnsiChar;