From 59cd198e89782263777c57dcd54704ecb1e10212 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jun 2015 17:41:48 +0000 Subject: finally CLISTEVENT removed completely git-svn-id: http://svn.miranda-ng.org/main/trunk@14430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickSearch/sr_global.pas | 14 +++++++------- plugins/QuickSearch/sr_window.pas | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/QuickSearch') diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas index 578e631900..b4e18a1b92 100644 --- a/plugins/QuickSearch/sr_global.pas +++ b/plugins/QuickSearch/sr_global.pas @@ -236,16 +236,16 @@ end; procedure AddRemoveMenuItemToMainMenu; var - cmi:TCLISTMENUITEM; + mi:TMO_MenuItem; begin if MainMenuItem<>0 then exit; - ZeroMemory(@cmi,sizeof(cmi)); - cmi.szName.a :=qs_name; - cmi.position :=500050000; - cmi.pszService :=QS_SHOWSERVICE; - cmi.hIcon :=IcoLib_GetIcon(QS_QS,0); - MainMenuItem :=Menu_AddMainMenuItem(@cmi); + ZeroMemory(@mi,sizeof(mi)); + mi.szName.a :=qs_name; + mi.position :=500050000; + mi.pszService :=QS_SHOWSERVICE; + mi.hIcon :=IcoLib_GetIcon(QS_QS,0); + MainMenuItem :=Menu_AddMainMenuItem(@mi); end; // -------- column functions --------- diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index 7399147902..6a6494a6dc 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -787,7 +787,7 @@ end; function ShowContactMenu(wnd:HWND;hContact:TMCONTACT;col:integer=-1):HMENU; var - mi:TCListMenuItem; + mi:TMO_MenuItem; pt:tpoint; doit:bool; begin -- cgit v1.2.3