From 3f9882178018afbe9aaaba1f4461f3fc75493260 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Jun 2015 14:23:02 +0000 Subject: MS_SKIN_LOADICON & MS_SKIN_LOADPROTOICON replaced with direct function calls git-svn-id: http://svn.miranda-ng.org/main/trunk@14176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/popup/pop_dlg.inc | 2 +- plugins/Watrack/popup/popups.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Watrack/popup') diff --git a/plugins/Watrack/popup/pop_dlg.inc b/plugins/Watrack/popup/pop_dlg.inc index 2d8c0ce79b..4ee10e1952 100644 --- a/plugins/Watrack/popup/pop_dlg.inc +++ b/plugins/Watrack/popup/pop_dlg.inc @@ -80,7 +80,7 @@ begin IDC_TEST: begin mGetMem(ppd,SizeOf(TPOPUPDATAW)); FillChar(ppd^,SizeOf(ppd^),0); - ppd^.lchIcon:=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA); + ppd^.lchIcon:=Skin_LoadIcon(SKINICON_OTHER_MIRANDA,0); StrCopyW(ppd^.lpwzContactName,TranslateW('popup test')); StrCopyW(ppd^.lpwzText,TranslateW('second line')); if IsDlgButtonChecked(Dialog,IDC_COLORDEF)=BST_CHECKED then diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas index 2e95e7f05b..4f896d0224 100644 --- a/plugins/Watrack/popup/popups.pas +++ b/plugins/Watrack/popup/popups.pas @@ -160,7 +160,7 @@ begin if si^.icon<>0 then Icon:=si^.icon else - Icon:=LoadSkinnedIcon(SKINICON_OTHER_MIRANDA); + Icon:=Skin_LoadIcon(SKINICON_OTHER_MIRANDA,0); if PopupDelay<0 then sec:=-1 else if PopupDelay>0 then -- cgit v1.2.3