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/DbEditorPP/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index 164411a54a..8a154fd2b7 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -107,8 +107,8 @@ static int ModulesLoaded(WPARAM, LPARAM) IcoLibRegister(); // Register menu item - CMenuItem mi; - mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("Database"), 1900000001); + CMenuItem mi(g_plugin); + mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Database"), 1900000001); SET_UID(mi, 0xe298849c, 0x1a8c, 0x4fc7, 0xa0, 0xf4, 0x78, 0x18, 0xf, 0xe2, 0xf7, 0xc9); mi.position = 1900000001; -- cgit v1.2.3