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/WhenWasIt/src/WhenWasIt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/WhenWasIt/src') diff --git a/plugins/WhenWasIt/src/WhenWasIt.cpp b/plugins/WhenWasIt/src/WhenWasIt.cpp index 947a9a2de7..5dfac1e9d1 100644 --- a/plugins/WhenWasIt/src/WhenWasIt.cpp +++ b/plugins/WhenWasIt/src/WhenWasIt.cpp @@ -74,9 +74,9 @@ extern "C" int __declspec(dllexport) Load(void) hAddBirthdayWndsList = WindowList_Create(); - CMenuItem mi; + CMenuItem mi(g_plugin); mi.position = 10000000; - mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("Birthdays (When Was It)"), mi.position); + mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Birthdays (When Was It)"), mi.position); Menu_ConfigureItem(mi.root, MCI_OPT_UID, "95D842AE-FCCE-43C9-87E3-C28546B7E00E"); SET_UID(mi, 0x4efbd640, 0xabbd, 0x470e, 0x9a, 0xa, 0x64, 0x76, 0x1a, 0x74, 0xf3, 0x24); -- cgit v1.2.3