summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/menuitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src/menuitem.cpp')
-rw-r--r--plugins/NewEventNotify/src/menuitem.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}