summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-10-28 16:18:50 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-10-28 16:18:50 +0300
commitcf9de21af3073e29cb7b149fbd8427241de70729 (patch)
tree2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /plugins/Watrack
parent3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff)
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them; - OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/i_opt_dlg.inc6
-rw-r--r--plugins/Watrack/popup/popups.pas2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Watrack/i_opt_dlg.inc b/plugins/Watrack/i_opt_dlg.inc
index 52848bf86b..ad1f576fe4 100644
--- a/plugins/Watrack/i_opt_dlg.inc
+++ b/plugins/Watrack/i_opt_dlg.inc
@@ -29,13 +29,13 @@ begin
odp.pszTemplate:=PAnsiChar(IDD_OPT_PARTS);
odp.pfnDlgProc :=@DlgProcOptions0;
odp.szTab.a :='Modules';
- CallService(MS_OPT_ADDPAGE,wParam,tlparam(@odp));
+ Options_AddPage(wParam,@odp);
odp.flags :=ODPF_BOLDGROUPS;
odp.pszTemplate:=PAnsiChar(IDD_OPT_BASIC);
odp.pfnDlgProc :=@DlgProcOptions1;
odp.szTab.a :='Basic';
- CallService(MS_OPT_ADDPAGE,wParam,tlparam(@odp));
+ Options_AddPage(wParam,@odp);
ptr:=ModuleLink;
while ptr<>nil do
@@ -46,7 +46,7 @@ begin
odp.pszTemplate:=tmpl;
odp.pfnDlgProc :=proc;
odp.szTab.a :=name;
- CallService(MS_OPT_ADDPAGE,wParam,tlparam(@odp));
+ Options_AddPage(wParam,@odp);
if i>0 then continue;
end;
ptr:=ptr^.Next;
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index 689a825a9d..089fe0b957 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -361,7 +361,7 @@ begin
odp.szGroup.a :='Popups';
odp.pszTemplate:=PAnsiChar(IDD_OPT_POPUP);
odp.pfnDlgProc :=@DlgPopupOpt;
- CallService(MS_OPT_ADDPAGE,wParam,tlparam(@odp));
+ Options_AddPage(wParam,@odp);
result:=0;
end;