diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-20 19:53:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-20 19:53:51 +0300 |
commit | 542182c9d353cba717ce7183690abc6476b3f448 (patch) | |
tree | ccfce2f70951e15eebee3003e792798950da6790 /plugins/Watrack | |
parent | 1c39cba6fea51df470809b5a3d28e3cd3836391d (diff) |
Pascal: fix for missing service call
Diffstat (limited to 'plugins/Watrack')
-rw-r--r-- | plugins/Watrack/kolframe/frm_dlg2.inc | 3 | ||||
-rw-r--r-- | plugins/Watrack/popup/pop_dlg.inc | 3 | ||||
-rw-r--r-- | plugins/Watrack/templates/i_tmpl_dlg.inc | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Watrack/kolframe/frm_dlg2.inc b/plugins/Watrack/kolframe/frm_dlg2.inc index 8f539c9dcb..29b9a71180 100644 --- a/plugins/Watrack/kolframe/frm_dlg2.inc +++ b/plugins/Watrack/kolframe/frm_dlg2.inc @@ -47,8 +47,7 @@ begin SetDlgItemTextW(Dialog,IDC_FRAME_TEXT,PWATFrameData(FrameCtrl.CustomData).Template);
end;
- SendDlgItemMessage(Dialog,IDC_MACRO_HELP,BM_SETIMAGE,IMAGE_ICON,
- CallService(MS_SKIN_LOADICON,SKINICON_OTHER_HELP,0));
+ SendDlgItemMessage(Dialog,IDC_MACRO_HELP,BM_SETIMAGE,IMAGE_ICON,Skin_LoadIcon(SKINICON_OTHER_HELP,0));
TemplateChanged:=false;
DlgInited:=true;
diff --git a/plugins/Watrack/popup/pop_dlg.inc b/plugins/Watrack/popup/pop_dlg.inc index 4e76a6c6ed..76873798d6 100644 --- a/plugins/Watrack/popup/pop_dlg.inc +++ b/plugins/Watrack/popup/pop_dlg.inc @@ -46,8 +46,7 @@ begin if PopupDelay<=0 then
EnableWindow(GetDlgItem(Dialog,IDC_DELAY),false);
- SendDlgItemMessage(Dialog,IDC_MACRO_HELP,BM_SETIMAGE,IMAGE_ICON,
- CallService(MS_SKIN_LOADICON,SKINICON_OTHER_HELP,0));
+ SendDlgItemMessage(Dialog,IDC_MACRO_HELP,BM_SETIMAGE,IMAGE_ICON,Skin_LoadIcon(SKINICON_OTHER_HELP,0));
fore:=GetDlgItem(Dialog,IDC_FORE);
back:=GetDlgItem(Dialog,IDC_BACK);
diff --git a/plugins/Watrack/templates/i_tmpl_dlg.inc b/plugins/Watrack/templates/i_tmpl_dlg.inc index c5534131ea..7e6455a826 100644 --- a/plugins/Watrack/templates/i_tmpl_dlg.inc +++ b/plugins/Watrack/templates/i_tmpl_dlg.inc @@ -13,7 +13,7 @@ begin CallService(MS_VARS_GETSKINITEM,0,VSI_HELPICON));
SendDlgItemMessage(Dialog,IDC_MACRO_HELP,BM_SETIMAGE,IMAGE_ICON,
- CallService(MS_SKIN_LOADICON,SKINICON_OTHER_HELP,0));
+ Skin_LoadIcon(SKINICON_OTHER_HELP,0));
MakeHint(Dialog,IDC_REPLACESPC,
'Replaces "_" (underscores) globally in pasted os status text,'+
|