summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_options.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-04-21 19:31:50 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-04-21 19:31:50 +0000
commite9a58c60e74de8195312ce6ecb48c170d76276d2 (patch)
tree2f2813846ad370aa431ff0492a12319922c13fa6 /plugins/Dropbox/src/dropbox_options.cpp
parent2617eeedce96b0d31abaf5547810bfd407d9feac (diff)
Dropbox: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16739 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_options.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_options.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Dropbox/src/dropbox_options.cpp b/plugins/Dropbox/src/dropbox_options.cpp
index 32b4daf949..5c091c6d59 100644
--- a/plugins/Dropbox/src/dropbox_options.cpp
+++ b/plugins/Dropbox/src/dropbox_options.cpp
@@ -1,7 +1,8 @@
#include "stdafx.h"
CDropboxOptionsMain::CDropboxOptionsMain(CDropbox *instance)
- : CDropboxDlgBase(instance, IDD_OPTIONS_MAIN),
+ : CPluginDlgBase(g_hInstance, IDD_OPTIONS_MAIN, MODULE),
+ m_instance(instance),
m_auth(this, IDC_GETAUTH, DROPBOX_WWW_URL "/oauth2/authorize?response_type=code&client_id=" DROPBOX_APP_KEY),
m_requestCode(this, IDC_REQUEST_CODE), m_authorize(this, IDC_AUTHORIZE), m_authStatus(this, IDC_AUTH_STATUS),
m_useShortUrl(this, IDC_USE_SHORT_LINKS), m_urlAutoSend(this, IDC_URL_AUTOSEND),
@@ -19,7 +20,7 @@ CDropboxOptionsMain::CDropboxOptionsMain(CDropbox *instance)
void CDropboxOptionsMain::OnInitDialog()
{
- CDropboxDlgBase::OnInitDialog();
+ CDlgBase::OnInitDialog();
LOGFONT lf;
HFONT hFont = (HFONT)m_authStatus.SendMsg(WM_GETFONT, 0, 0);
@@ -52,14 +53,14 @@ void CDropboxOptionsMain::Authorize_OnClick(CCtrlBase*)
/////////////////////////////////////////////////////////////////////////////////
CDropboxOptionsInterception::CDropboxOptionsInterception(CDropbox *instance)
- : CDropboxDlgBase(instance, IDD_OPTIONS_INTERCEPTION),
+ : CPluginDlgBase(g_hInstance, IDD_OPTIONS_INTERCEPTION, MODULE),
m_accounts(this, IDC_ACCOUNTS), isAccountListInit(false)
{
}
void CDropboxOptionsInterception::OnInitDialog()
{
- CDropboxDlgBase::OnInitDialog();
+ CDlgBase::OnInitDialog();
m_accounts.SetExtendedListViewStyle(LVS_EX_FULLROWSELECT | LVS_EX_CHECKBOXES | LVS_EX_INFOTIP);