summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/Menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 18:00:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 18:00:57 +0300
commitfeac2b1a6a79c9d0bb58b0825ec2a776b888f9ce (patch)
treeef2fde024f8e13ac1ff5f2de8c772066319b3e6c /plugins/NewsAggregator/Src/Menus.cpp
parent737d05018bbc2da54414bea0c2ccce6f1e15bde2 (diff)
m_genmenu.h unbound from hLangpack
Diffstat (limited to 'plugins/NewsAggregator/Src/Menus.cpp')
-rw-r--r--plugins/NewsAggregator/Src/Menus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/Menus.cpp b/plugins/NewsAggregator/Src/Menus.cpp
index 7f6a73f77f..e64b3f0764 100644
--- a/plugins/NewsAggregator/Src/Menus.cpp
+++ b/plugins/NewsAggregator/Src/Menus.cpp
@@ -23,9 +23,9 @@ HGENMENU hService2[7];
void InitMenu()
{
- CMenuItem mi;
+ CMenuItem mi(g_plugin);
mi.flags = CMIF_UNICODE | CMIF_NOTOFFLINE;
- mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("News Aggregator"), 500099000);
+ mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("News Aggregator"), 500099000);
Menu_ConfigureItem(mi.root, MCI_OPT_UID, "D9733E4F-1946-4390-8EB3-591E8687222E");
SET_UID(mi, 0x3ec91864, 0xefa7, 0x4994, 0xb7, 0x75, 0x6c, 0x96, 0xcb, 0x29, 0x2f, 0x93);