diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
commit | 72a8c7e76a3048f733df1bf101ec6547606fdfbe (patch) | |
tree | d11c946edc04c5b0ea7c8aebcbdf1a366a9d5f6c /plugins/TabSRMM | |
parent | 2f816ea233c40d020d1b63ef2a11ec3b724a710d (diff) |
minus ModernOpt
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 28 | ||||
-rw-r--r-- | plugins/TabSRMM/src/stdafx.h | 1 |
2 files changed, 0 insertions, 29 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index ae245e68b5..86845fd854 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -1602,37 +1602,9 @@ static INT_PTR CALLBACK DlgProcTabSrmmModernOptions(HWND hwndDlg, UINT msg, WPAR return FALSE;
}
-static int ModernOptInitialise(WPARAM wParam, LPARAM)
-{
- static int iBoldControls[] =
- {
- IDC_TXT_TITLE1, IDC_TXT_TITLE2,
- IDC_TXT_TITLE3, IDC_TXT_TITLE4,
- IDC_TXT_TITLE5,
- MODERNOPT_CTRL_LAST
- };
-
- MODERNOPTOBJECT obj = { sizeof(obj) };
- obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE;
- obj.hIcon = Skin_LoadIcon(SKINICON_OTHER_MIRANDA);
- obj.hInstance = g_hInst;
- obj.iSection = MODERNOPT_PAGE_MSGS;
- obj.iType = MODERNOPT_TYPE_SECTIONPAGE;
- obj.iBoldControls = iBoldControls;
- obj.lpzClassicGroup = nullptr;
- obj.lpzClassicPage = "Message Sessions";
- obj.lpzHelpUrl = "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM";
-
- obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPTS);
- obj.pfnDlgProc = DlgProcTabSrmmModernOptions;
- CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj);
- return 0;
-}
-
int TSAPI InitOptions(void)
{
HookEvent(ME_OPT_INITIALISE, OptInitialise);
- HookEvent(ME_MODERNOPT_INITIALIZE, ModernOptInitialise);
return 0;
}
diff --git a/plugins/TabSRMM/src/stdafx.h b/plugins/TabSRMM/src/stdafx.h index 3cd811adca..b7fad5cf5f 100644 --- a/plugins/TabSRMM/src/stdafx.h +++ b/plugins/TabSRMM/src/stdafx.h @@ -74,7 +74,6 @@ #include <m_genmenu.h>
#include <m_popup.h>
#include <m_timezones.h>
-#include <m_modernopt.h>
#include <m_xstatus.h>
#include <m_toptoolbar.h>
#include <m_string.h>
|