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 /plugins/Clist_modern/src | |
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 'plugins/Clist_modern/src')
-rw-r--r-- | plugins/Clist_modern/src/cluiframes.cpp | 4 | ||||
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp index 9f1287c328..72e9bcf338 100644 --- a/plugins/Clist_modern/src/cluiframes.cpp +++ b/plugins/Clist_modern/src/cluiframes.cpp @@ -2597,10 +2597,10 @@ static LRESULT CALLBACK CLUIFrameTitleBarProc(HWND hwnd, UINT msg, WPARAM wParam return FALSE;
case WM_MEASUREITEM:
- return Menu_MeasureItem((LPMEASUREITEMSTRUCT)lParam);
+ return Menu_MeasureItem(lParam);
case WM_DRAWITEM:
- return Menu_DrawItem((LPDRAWITEMSTRUCT)lParam);
+ return Menu_DrawItem(lParam);
case WM_USER + 100:
return 1;
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index 5a7d189c51..3f7887eee0 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -2421,7 +2421,7 @@ LRESULT CLUI::OnMeasureItem(UINT, WPARAM, LPARAM lParam) ReleaseDC(m_hWnd, hdc);
return TRUE;
}
- return Menu_MeasureItem((LPMEASUREITEMSTRUCT)lParam);
+ return Menu_MeasureItem(lParam);
}
LRESULT CLUI::OnDrawItem(UINT, WPARAM, LPARAM lParam)
@@ -2499,7 +2499,7 @@ LRESULT CLUI::OnDrawItem(UINT, WPARAM, LPARAM lParam) nMirMenuState = dis->itemState;
}
- return Menu_DrawItem((LPDRAWITEMSTRUCT)lParam);
+ return Menu_DrawItem(lParam);
}
LRESULT CLUI::OnDestroy(UINT, WPARAM, LPARAM)
|