diff options
Diffstat (limited to 'plugins/Utils.pas')
-rw-r--r-- | plugins/Utils.pas/mirutils.pas | 2 | ||||
-rw-r--r-- | plugins/Utils.pas/sedit.pas | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index 5c25045c11..ab7a275a48 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -62,7 +62,7 @@ const function SetButtonIcon(btn:HWND;name:PAnsiChar):HICON;
begin
- result:=CallService(MS_SKIN2_GETICON,0,LPARAM(name));
+ result:=IcoLib_GetIcon(name,0);
SendMessage(btn,BM_SETIMAGE,IMAGE_ICON,result);
end;
diff --git a/plugins/Utils.pas/sedit.pas b/plugins/Utils.pas/sedit.pas index 7c7010e43b..a935f9f71b 100644 --- a/plugins/Utils.pas/sedit.pas +++ b/plugins/Utils.pas/sedit.pas @@ -88,7 +88,7 @@ procedure RegisterIcons; var
sid:TSKINICONDESC;
begin
- if CallService(MS_SKIN2_GETICON,0,LPARAM(ACI_NEW))<>0 then
+ if IcoLib_GetIcon(ACI_NEW,0)<>0 then
exit;
FillChar(sid,SizeOf(TSKINICONDESC),0);
|