diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 18:00:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 18:00:57 +0300 |
commit | feac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (patch) | |
tree | ef2fde024f8e13ac1ff5f2de8c772066319b3e6c /plugins/WhoUsesMyFiles/src | |
parent | 737d05018bbc2da54414bea0c2ccce6f1e15bde2 (diff) |
m_genmenu.h unbound from hLangpack
Diffstat (limited to 'plugins/WhoUsesMyFiles/src')
-rw-r--r-- | plugins/WhoUsesMyFiles/src/wumfplug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp index cf5d594d9e..8259d85c45 100644 --- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp +++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp @@ -229,10 +229,10 @@ extern "C" __declspec(dllexport) int Load(void) CreateServiceFunction(MS_WUMF_SWITCHPOPUP, WumfMenuCommand);
CreateServiceFunction(MS_WUMF_CONNECTIONSSHOW, WumfShowConnections);
- CMenuItem mi;
+ CMenuItem mi(g_plugin);
SET_UID(mi, 0xcfce6487, 0x907b, 0x4822, 0xb0, 0x49, 0x18, 0x4e, 0x47, 0x17, 0x0, 0x69);
- mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("Popups"), 1999990000);
+ mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Popups"), 1999990000);
if (WumfOptions.PopupsEnabled == FALSE) {
mi.name.a = LPGEN("Enable WUMF popups");
mi.hIcolibItem = LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_NOPOPUP));
|