diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-13 14:39:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-13 14:39:35 +0000 |
commit | 2fa4d8fd0f2c29517025dfc3bebc8a5e07c3d380 (patch) | |
tree | 2beeddcf0559b1c42c92ea6f32ef771b642285b8 /protocols/JabberG/src/jabber_agent.cpp | |
parent | ec6783d12fa3d427acabed5460cf343255a77118 (diff) |
- nasty crutch removed from Options_AddPage;
- HWND hwndParent removed from the CDlgBase constructor;
- method CDlgBase::SetParent() added for the rare occasions where it's needed;
git-svn-id: http://svn.miranda-ng.org/main/trunk@12785 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_agent.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_agent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_agent.cpp b/protocols/JabberG/src/jabber_agent.cpp index 5b6176bf86..88487f68ba 100644 --- a/protocols/JabberG/src/jabber_agent.cpp +++ b/protocols/JabberG/src/jabber_agent.cpp @@ -35,9 +35,10 @@ class CAgentRegProgressDlg : public CJabberDlgBase public:
CAgentRegProgressDlg(CJabberProto *_ppro, HWND _owner) :
- CJabberDlgBase(_ppro, IDD_OPT_REGISTER, _owner, false),
+ CJabberDlgBase(_ppro, IDD_OPT_REGISTER, false),
m_ok(this, IDOK)
{
+ SetParent(_owner);
m_ok.OnClick = Callback(this, &CAgentRegProgressDlg::OnOk);
}
@@ -87,7 +88,7 @@ class CAgentRegDlg : public CJabberDlgBase public:
CAgentRegDlg(CJabberProto *_ppro, TCHAR *_jid) :
- CJabberDlgBase(_ppro, IDD_FORM, NULL, false),
+ CJabberDlgBase(_ppro, IDD_FORM, false),
m_submit(this, IDC_SUBMIT),
m_jid(_jid),
m_agentRegIqNode(NULL)
|