summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-05 10:56:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-05 10:56:12 +0000
commitb6432457c35f22d5fd4377284e2e7d5d6736e6dc (patch)
treeab545986f29028798420af0e29d866bd7d2bdec0 /plugins/QuickSearch
parent3f9852b281fa9af7ebd286c4d7e5738c6f51b19e (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/sr_window.pas8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas
index 9521d9525e..a2f96e4098 100644
--- a/plugins/QuickSearch/sr_window.pas
+++ b/plugins/QuickSearch/sr_window.pas
@@ -2095,9 +2095,9 @@ begin
end;
WM_MEASUREITEM:
- CallService(MS_CLIST_MENUMEASUREITEM,wParam,lParam);
+ Menu_MeasureItem(lParam);
WM_DRAWITEM:
- CallService(MS_CLIST_MENUDRAWITEM,wParam,lParam);
+ Menu_DrawItem(lParam);
WM_MOUSEMOVE: begin
if TTInstalled then
@@ -2128,9 +2128,7 @@ begin
end;
WM_COMMAND: begin
- if CallService(MS_CLIST_MENUPROCESSCOMMAND,
- MAKEWPARAM(LOWORD(wParam),MPCF_CONTACTMENU),
- GetFocusedhContact)<>0 then
+ if Clist_MenuProcessCommand(LOWORD(wParam),MPCF_CONTACTMENU,GetFocusedhContact)<>0 then
begin
if (qsopt.flags and QSO_AUTOCLOSE)<>0 then
CloseSrWindow;