diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-01 17:44:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-01 17:44:03 +0000 |
commit | 87008649388c768d4dabf540893e509b6b932db8 (patch) | |
tree | e1ac4d22ab04f53ce6111ee8841ccc8cfde91514 /plugins/Alarms | |
parent | 98967bf2ece5792ea9ff2fb0cc52e2605a79bf6b (diff) |
this crazy code is unneeded now
git-svn-id: http://svn.miranda-ng.org/main/trunk@252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms')
-rw-r--r-- | plugins/Alarms/options.cpp | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/plugins/Alarms/options.cpp b/plugins/Alarms/options.cpp index feeec4f55a..0f22a57fb0 100644 --- a/plugins/Alarms/options.cpp +++ b/plugins/Alarms/options.cpp @@ -1168,18 +1168,15 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l int OptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = { 0 };
-// in the 0.6.0.0 m_options.h header, OPTIONSDIALOGPAGE includes tab stuff, and is larger - older versions of miranda won't accept it
-#define OPTIONPAGE_OLD_SIZE2 60
- //odp.cbSize = sizeof(odp);
- odp.cbSize = OPTIONPAGE_OLD_SIZE2;
- odp.position = -790000000;
- odp.hInstance = hInst;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT1);
- odp.pszTitle = Translate("Alarms");
- odp.pszGroup = Translate("Events");
- odp.flags = ODPF_BOLDGROUPS;
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOpts;
+ odp.cbSize = sizeof(odp);
+ odp.position = -790000000;
+ odp.hInstance = hInst;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT1);
+ odp.pszTitle = Translate("Alarms");
+ odp.pszGroup = Translate("Events");
+ odp.flags = ODPF_BOLDGROUPS;
+ odp.nIDBottomSimpleControl = 0;
+ odp.pfnDlgProc = DlgProcOpts;
CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp );
return 0;
|