From 4ba9c10fa00482b9e9d8b54812b49ecf60cee95e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jun 2015 13:04:28 +0000 Subject: obsoleted constants CMIF_ROOTPOPUP & CMIF_CHILDPOPUP replaced with CMIF_ROOTHANDLE git-svn-id: http://svn.miranda-ng.org/main/trunk@14350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/meta_menu.cpp | 4 ++-- src/mir_app/src/movetogroup.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/meta_menu.cpp b/src/mir_app/src/meta_menu.cpp index c53083d2e6..2c04f2d3d4 100644 --- a/src/mir_app/src/meta_menu.cpp +++ b/src/mir_app/src/meta_menu.cpp @@ -397,12 +397,12 @@ void InitMenus() hMenuDelete = Menu_AddContactMenuItem(&mi); mi.position = -99000; - mi.flags = CMIF_HIDDEN | CMIF_ROOTPOPUP; + mi.flags = CMIF_HIDDEN | CMIF_ROOTHANDLE; mi.icolibItem = 0; mi.pszName = LPGEN("Subcontacts"); hMenuRoot = Menu_AddContactMenuItem(&mi); - mi.flags = CMIF_HIDDEN | CMIF_CHILDPOPUP; + mi.flags = CMIF_HIDDEN | CMIF_ROOTHANDLE; mi.hParentMenu = hMenuRoot; for (int i = 0; i < MAX_CONTACTS; i++) { mi.position--; diff --git a/src/mir_app/src/movetogroup.cpp b/src/mir_app/src/movetogroup.cpp index a8bd2771e4..75b9a66dff 100644 --- a/src/mir_app/src/movetogroup.cpp +++ b/src/mir_app/src/movetogroup.cpp @@ -69,7 +69,7 @@ static void AddGroupItem(HGENMENU hRoot, TCHAR* name, int pos, WPARAM param, boo { CLISTMENUITEM mi = { 0 }; mi.hParentMenu = hRoot; - mi.popupPosition = param; // param to pszService - only with CMIF_CHILDPOPUP !!!!!! + mi.popupPosition = param; // param to pszService - only with CMIF_ROOTHANDLE !!!!!! mi.position = pos; mi.ptszName = PrepareGroupName(name); mi.flags = CMIF_ROOTHANDLE | CMIF_TCHAR | CMIF_KEEPUNTRANSLATED; -- cgit v1.2.3