diff options
Diffstat (limited to 'plugins/FTPFileYM')
-rw-r--r-- | plugins/FTPFileYM/src/common.h | 1 | ||||
-rw-r--r-- | plugins/FTPFileYM/src/dialog.cpp | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/FTPFileYM/src/common.h b/plugins/FTPFileYM/src/common.h index 74a23391d3..aca753f605 100644 --- a/plugins/FTPFileYM/src/common.h +++ b/plugins/FTPFileYM/src/common.h @@ -33,6 +33,7 @@ using namespace std; #include <m_button.h>
#include <m_clist.h>
#include <m_utils.h>
+#include <m_genmenu.h>
#include <m_hotkeys.h>
#include <m_icolib.h>
#include <m_message.h>
diff --git a/plugins/FTPFileYM/src/dialog.cpp b/plugins/FTPFileYM/src/dialog.cpp index c16bd30ea5..afe0f4131c 100644 --- a/plugins/FTPFileYM/src/dialog.cpp +++ b/plugins/FTPFileYM/src/dialog.cpp @@ -222,13 +222,11 @@ INT_PTR CALLBACK UploadDialog::UploadDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar break;
}
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:
{
MCONTACT hContact = uDlg->tabs[uDlg->activeTab]->job->hContact;
|