From 4810d4b1b7a47701b8e6c45490fb2643ea425123 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 23:13:56 +0000 Subject: rest of menu cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewEventNotify/src/menuitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewEventNotify/src') diff --git a/plugins/NewEventNotify/src/menuitem.cpp b/plugins/NewEventNotify/src/menuitem.cpp index 99e35c4740..e1745df966 100644 --- a/plugins/NewEventNotify/src/menuitem.cpp +++ b/plugins/NewEventNotify/src/menuitem.cpp @@ -24,7 +24,7 @@ #include "neweventnotify.h" -HANDLE hMenuitemNotify; +HGENMENU hMenuitemNotify; BOOL bNotify; static INT_PTR MenuitemNotifyCmd(WPARAM wParam,LPARAM lParam) @@ -46,7 +46,7 @@ int MenuitemUpdate(BOOL bStatus) else mi.ptszName = TranslateT(MENUITEM_ENABLE); mi.flags = CMIM_ICON | CMIM_NAME | CMIF_KEEPUNTRANSLATED | CMIF_TCHAR; - CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuitemNotify, (LPARAM)&mi); + Menu_ModifyItem(hMenuitemNotify, &mi); return 0; } -- cgit v1.2.3