summaryrefslogtreecommitdiff
path: root/plugins/Actman/hooks/i_opt_dlg.inc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:51 +0300
commit542182c9d353cba717ce7183690abc6476b3f448 (patch)
treeccfce2f70951e15eebee3003e792798950da6790 /plugins/Actman/hooks/i_opt_dlg.inc
parent1c39cba6fea51df470809b5a3d28e3cd3836391d (diff)
Pascal: fix for missing service call
Diffstat (limited to 'plugins/Actman/hooks/i_opt_dlg.inc')
-rw-r--r--plugins/Actman/hooks/i_opt_dlg.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Actman/hooks/i_opt_dlg.inc b/plugins/Actman/hooks/i_opt_dlg.inc
index 23adcf0848..895ce51f21 100644
--- a/plugins/Actman/hooks/i_opt_dlg.inc
+++ b/plugins/Actman/hooks/i_opt_dlg.inc
@@ -256,22 +256,23 @@ begin
ti.lpszText:=TranslateW('Help');
ti.uId :=GetDlgItem(Dialog,IDC_EVENT_HELP);
- SendMessage(ti.uId,BM_SETIMAGE,IMAGE_ICON,
- CallService(MS_SKIN_LOADICON,SKINICON_OTHER_HELP,0));
+ SendMessage(ti.uId,BM_SETIMAGE,IMAGE_ICON,Skin_LoadIcon(SKINICON_OTHER_HELP,0));
SendMessageW(hwndTooltip,TTM_ADDTOOLW,0,LPARAM(@ti));
+
ti.uId :=GetDlgItem(Dialog,IDC_EVENT_CHELP);
- SendMessage(ti.uId,BM_SETIMAGE,IMAGE_ICON,
- CallService(MS_SKIN_LOADICON,SKINICON_OTHER_HELP,0));
+ SendMessage(ti.uId,BM_SETIMAGE,IMAGE_ICON,Skin_LoadIcon(SKINICON_OTHER_HELP,0));
SendMessageW(hwndTooltip,TTM_ADDTOOLW,0,LPARAM(@ti));
ti.uId :=GetDlgItem(Dialog,IDC_HOOK_NEW);
ti.lpszText:=TranslateW('New');
SetButtonIcon(ti.uId,ACI_NEW);
SendMessageW(hwndTooltip,TTM_ADDTOOLW,0,LPARAM(@ti));
+
ti.uId :=GetDlgItem(Dialog,IDC_HOOK_APPLY);
ti.lpszText:=TranslateW('Apply');
SetButtonIcon(ti.uId,ACI_APPLY);
SendMessageW(hwndTooltip,TTM_ADDTOOLW,0,LPARAM(@ti));
+
ti.uId :=GetDlgItem(Dialog,IDC_HOOK_DELETE);
ti.lpszText:=TranslateW('Delete');
SetButtonIcon(ti.uId,ACI_DELETE);