diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-05 11:04:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-05 11:04:46 +0000 |
commit | 18ee7073d76f02c5c78182c3aeee7427b469bd01 (patch) | |
tree | 21c5b90169da0ed79d82d5dc07b5c888177b9260 /include | |
parent | b6432457c35f22d5fd4377284e2e7d5d6736e6dc (diff) |
Menu_DrawItem & Menu_MeasureItem now simply receive LPARAM
git-svn-id: http://svn.miranda-ng.org/main/trunk@17255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_genmenu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_genmenu.h b/include/m_genmenu.h index e8174e822e..01e8c60da7 100644 --- a/include/m_genmenu.h +++ b/include/m_genmenu.h @@ -125,7 +125,7 @@ EXTERN_C MIR_APP_DLL(HGENMENU) Menu_CreateRoot(int hMenuObject, LPCWSTR ptszName // wParam, lParam, return value as for WM_MEASUREITEM
// See comments for clist/menumeasureitem
-EXTERN_C MIR_APP_DLL(BOOL) Menu_DrawItem(DRAWITEMSTRUCT *dis);
+EXTERN_C MIR_APP_DLL(BOOL) Menu_DrawItem(LPARAM);
/////////////////////////////////////////////////////////////////////////////////////////
// enables or disables a menu item
@@ -158,7 +158,7 @@ EXTERN_C MIR_APP_DLL(int) Menu_GetItemInfo(HGENMENU hMenuItem, TMO_MenuItem &pIn // and clist/menudrawitem whne drawing a menu returned by one of the three menu
// services below then it'll work but you won't get any icons
-EXTERN_C MIR_APP_DLL(BOOL) Menu_MeasureItem(MEASUREITEMSTRUCT *mis);
+EXTERN_C MIR_APP_DLL(BOOL) Menu_MeasureItem(LPARAM);
/////////////////////////////////////////////////////////////////////////////////////////
// modify an existing menu item
|