diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 12:13:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 12:13:16 +0000 |
commit | 4625aafb053a002f0223bfbe76abfbec629feacf (patch) | |
tree | 512f5e5fc5fd6b4d7a79d9b535158d065017f94f /include | |
parent | 28a3f4e95a93f30155c68aa87198595ca9e100b5 (diff) |
minor correction in the internal genmenu structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@14324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_genmenu.inc | 3 | ||||
-rw-r--r-- | include/m_genmenu.h | 13 |
2 files changed, 4 insertions, 12 deletions
diff --git a/include/delphi/m_genmenu.inc b/include/delphi/m_genmenu.inc index f64f48dbf2..a8d54d8edb 100644 --- a/include/delphi/m_genmenu.inc +++ b/include/delphi/m_genmenu.inc @@ -195,10 +195,9 @@ const type
PMO_MenuItem = ^TMO_MenuItem;
TMO_MenuItem = record
- cbSize :int;
- szName :TCHAR;
position :int;
root :HGENMENU;
+ szName :TCHAR;
flags :integer;
hIcon :HICON; // or hIcolibItem:THANDLE;
hotKey :dword;
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index 1bcfd1581d..55ba8115ee 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -179,21 +179,15 @@ __forceinline HGENMENU Menu_AddTrayMenuItem(CLISTMENUITEM *mi) //wParam=lParam=0
#define ME_CLIST_PREBUILDMAINMENU "CList/PreBuildMainMenu"
-
/*GENMENU_MODULE*/
#define SETTING_NOOFFLINEBOTTOM_DEFAULT 0
-typedef struct
+struct TMO_MenuItem
{
- int cbSize;
- union
- {
- char *pszName;
- TCHAR *ptszName;
- };
int position;
HGENMENU root;
+ MAllStrings name;
int flags;
union {
HICON hIcon;
@@ -202,8 +196,7 @@ typedef struct DWORD hotKey;
void *ownerdata;
int hLangpack;
-}
- TMO_MenuItem,*PMO_MenuItem;
+};
/*
This structure passed to CheckService.
|