From 18ee7073d76f02c5c78182c3aeee7427b469bd01 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 5 Sep 2016 11:04:46 +0000 Subject: Menu_DrawItem & Menu_MeasureItem now simply receive LPARAM git-svn-id: http://svn.miranda-ng.org/main/trunk@17255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContactsPlus/src/receive.cpp | 4 ++-- plugins/ContactsPlus/src/send.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/ContactsPlus') diff --git a/plugins/ContactsPlus/src/receive.cpp b/plugins/ContactsPlus/src/receive.cpp index b85f23343e..34fa0291a9 100644 --- a/plugins/ContactsPlus/src/receive.cpp +++ b/plugins/ContactsPlus/src/receive.cpp @@ -462,11 +462,11 @@ INT_PTR CALLBACK RecvDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara break; case WM_MEASUREITEM: - return Menu_MeasureItem((LPMEASUREITEMSTRUCT)lParam); + return Menu_MeasureItem(lParam); case WM_DRAWITEM: DrawProtocolIcon(hwndDlg, lParam, wndData->mhContact); - return Menu_DrawItem((LPDRAWITEMSTRUCT)lParam); + return Menu_DrawItem(lParam); case WM_SIZE: if (!IsIconic(hwndDlg)) // make the dlg resizeable diff --git a/plugins/ContactsPlus/src/send.cpp b/plugins/ContactsPlus/src/send.cpp index a432d66e1f..6a9581e02d 100644 --- a/plugins/ContactsPlus/src/send.cpp +++ b/plugins/ContactsPlus/src/send.cpp @@ -443,11 +443,11 @@ INT_PTR CALLBACK SendDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara break; case WM_MEASUREITEM: - return Menu_MeasureItem((LPMEASUREITEMSTRUCT)lParam); + return Menu_MeasureItem(lParam); case WM_DRAWITEM: DrawProtocolIcon(hwndDlg, lParam, wndData->hContact); - return Menu_DrawItem((LPDRAWITEMSTRUCT)lParam); + return Menu_DrawItem(lParam); case DM_UPDATETITLE: UpdateDialogTitle(hwndDlg, wndData ? wndData->hContact : NULL, TranslateT("Send Contacts to")); -- cgit v1.2.3