From feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 18:00:57 +0300 Subject: m_genmenu.h unbound from hLangpack --- 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 d2c04d4d04..a2d03a96b5 100644 --- a/plugins/NewEventNotify/src/menuitem.cpp +++ b/plugins/NewEventNotify/src/menuitem.cpp @@ -50,9 +50,9 @@ int MenuitemInit(BOOL bStatus) { CreateServiceFunction(MS_NEN_MENUNOTIFY, MenuitemNotifyCmd); - HGENMENU hRoot = Menu_CreateRoot(MO_MAIN, LPGENW("Popups"), 0); + HGENMENU hRoot = g_plugin.addRootMenu(MO_MAIN, LPGENW("Popups"), 0); - CMenuItem mi; + CMenuItem mi(g_plugin); SET_UID(mi, 0x7aed93f7, 0x835, 0x4ff6, 0xb1, 0x34, 0xae, 0x0, 0x21, 0x2a, 0xd7, 0x81); mi.root = hRoot; mi.position = 1; -- cgit v1.2.3