diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-25 15:22:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-25 15:22:06 +0000 |
commit | 65e6aa9b5468f26485a236a46fcb18541e1acf1a (patch) | |
tree | 61654d2c6f18523580372656d3bda6d7b93be845 /plugins/SeenPlugin | |
parent | 8501b9e4faa15257535e71b766f06f16b7971e39 (diff) |
rest of genmenu api died
git-svn-id: http://svn.miranda-ng.org/main/trunk@14382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin')
-rw-r--r-- | plugins/SeenPlugin/src/history.cpp | 4 | ||||
-rw-r--r-- | plugins/SeenPlugin/src/seen.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index 857719e78f..9bc055125f 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -198,10 +198,10 @@ INT_PTR CALLBACK HistoryDlgProc(HWND hwndDlg, UINT Message, WPARAM wparam, LPARA return TRUE;
case WM_MEASUREITEM:
- return CallService(MS_CLIST_MENUMEASUREITEM, wparam, lparam);
+ return Menu_MeasureItem((LPMEASUREITEMSTRUCT)lparam);
case WM_DRAWITEM:
- return CallService(MS_CLIST_MENUDRAWITEM, wparam, lparam);
+ return Menu_DrawItem((LPDRAWITEMSTRUCT)lparam);
case WM_COMMAND:
hContact = (MCONTACT)GetWindowLongPtr(hwndDlg, GWLP_USERDATA);
diff --git a/plugins/SeenPlugin/src/seen.h b/plugins/SeenPlugin/src/seen.h index 4a83833fe6..6808ca7683 100644 --- a/plugins/SeenPlugin/src/seen.h +++ b/plugins/SeenPlugin/src/seen.h @@ -34,6 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <newpluginapi.h>
#include <m_database.h>
#include <m_langpack.h>
+#include <m_genmenu.h>
#include <m_skin.h>
#include <m_userinfo.h>
#include <m_clist.h>
|