diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 14:11:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 14:11:54 +0000 |
commit | ca410fe247243f87ac3234f526f708111f227c74 (patch) | |
tree | 53900a832c06219ff6fbc1e5a63dbe4d1b450785 /plugins/CrashDumper/src | |
parent | b3506557a58f53ed0fc3a96c4ec4a3b8098a542d (diff) |
various menu definition quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@14326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index b7ce54db1b..1362e43908 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -261,11 +261,11 @@ static int ModulesLoaded(WPARAM, LPARAM) mi.flags = CMIF_ROOTPOPUP | CMIF_TCHAR;
mi.icolibItem = GetIconHandle(IDI_VI);
mi.ptszName = LPGENT("Version Information");
- mi.pszPopupName = (char *)-1;
- HANDLE hMenuRoot = Menu_AddMainMenuItem(&mi);
+ mi.hParentMenu = HGENMENU_ROOT;
+ HGENMENU hMenuRoot = Menu_AddMainMenuItem(&mi);
mi.flags = CMIF_CHILDPOPUP | CMIF_TCHAR;
- mi.pszPopupName = (char *)hMenuRoot;
+ mi.hParentMenu = hMenuRoot;
mi.popupPosition = 0;
mi.position = 2000089995;
|