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/CrashDumper | |
parent | 737d05018bbc2da54414bea0c2ccce6f1e15bde2 (diff) |
m_genmenu.h unbound from hLangpack
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index eb3e85ec00..82113cd663 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -261,8 +261,8 @@ static int ModulesLoaded(WPARAM, LPARAM) FoldersPathChanged(0, 0);
}
- CMenuItem mi;
- mi.root = Menu_CreateRoot(MO_MAIN, LPGENW("Version Information"), 2000089999, GetIconHandle(IDI_VI));
+ CMenuItem mi(g_plugin);
+ mi.root = g_plugin.addRootMenu(MO_MAIN, LPGENW("Version Information"), 2000089999, GetIconHandle(IDI_VI));
Menu_ConfigureItem(mi.root, MCI_OPT_UID, "9A7A9C76-7FD8-4C05-B402-6C46060C2D78");
SET_UID(mi, 0x52930e40, 0xb2ee, 0x4433, 0xad, 0x77, 0xf5, 0x42, 0xe, 0xf6, 0x57, 0xc1);
|