summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-23 13:04:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-23 13:04:28 +0000
commit4ba9c10fa00482b9e9d8b54812b49ecf60cee95e (patch)
tree60a4eaf0406288ae2ccda66beccbff7a1b6126b4 /include
parent7d3d5e16b4e5378a751576095771c2a75b7276fb (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/m_clist.h4
-rw-r--r--include/m_genmenu.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/include/m_clist.h b/include/m_clist.h
index 82c11dd553..22d3a5634b 100644
--- a/include/m_clist.h
+++ b/include/m_clist.h
@@ -139,10 +139,6 @@ struct CLISTMENUITEM
//#define CMIF_ICONFROMICOLIB 2048 // use icolibName instead of hIcon, unused
#define CMIF_DEFAULT 4096 // this menu item is the default one
-// for compatibility. since 0.8.0 they both mean nothing
-#define CMIF_ROOTPOPUP 128 //root item for new popup(save return id for childs)
-#define CMIF_CHILDPOPUP 256 //child for rootpopup menu
-
__forceinline HGENMENU Menu_AddMainMenuItem(CLISTMENUITEM *mi)
{ mi->hLangpack = hLangpack;
return (HGENMENU)CallService("CList/AddMainMenuItem", 0, (LPARAM)mi);
diff --git a/include/m_genmenu.h b/include/m_genmenu.h
index 78ea963bbd..a4c30fe509 100644
--- a/include/m_genmenu.h
+++ b/include/m_genmenu.h
@@ -318,8 +318,8 @@ __forceinline HANDLE MO_CreateMenuObject(LPCSTR szName, LPCSTR szDisplayName, LP
#define MCO_OPT_USERDEFINEDITEMS 1
// Set FreeService for menuobject. When freeing menuitem it will be called with
-// wParam=MenuItemHandle
-// lParam=mi.ownerdata
+// wParam = MenuItemHandle
+// lParam = mi.ownerdata
#define MCO_OPT_FREE_SERVICE 2
// Set onAddService for menuobject.