summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_notes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-13 14:43:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-13 14:43:33 +0000
commit05cd31c1d99a2adb8bae18b220a728ef66567543 (patch)
treea64acf19f7aef3b651202c6747d9f15a8e8db1c3 /protocols/JabberG/src/jabber_notes.cpp
parent2fa4d8fd0f2c29517025dfc3bebc8a5e07c3d380 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12786 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_notes.cpp')
-rw-r--r--protocols/JabberG/src/jabber_notes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_notes.cpp b/protocols/JabberG/src/jabber_notes.cpp
index a25abd5969..8fc18bf3f5 100644
--- a/protocols/JabberG/src/jabber_notes.cpp
+++ b/protocols/JabberG/src/jabber_notes.cpp
@@ -212,7 +212,7 @@ private:
};
CJabberDlgNoteItem::CJabberDlgNoteItem(CJabberDlgBase *parent, CNoteItem *pNote):
- CSuper(parent->GetProto(), IDD_NOTE_EDIT, parent->GetHwnd()),
+ CSuper(parent->GetProto(), IDD_NOTE_EDIT),
m_pNote(pNote),
m_fnProcess(NULL),
m_txtTitle(this, IDC_TXT_TITLE),
@@ -220,11 +220,12 @@ CJabberDlgNoteItem::CJabberDlgNoteItem(CJabberDlgBase *parent, CNoteItem *pNote)
m_txtTags(this, IDC_TXT_TAGS),
m_btnOk(this, IDOK)
{
+ SetParent(parent->GetHwnd());
m_btnOk.OnClick = Callback(this, &CJabberDlgNoteItem::btnOk_OnClick);
}
CJabberDlgNoteItem::CJabberDlgNoteItem(CJabberProto *proto, CNoteItem *pNote, TFnProcessNote fnProcess):
- CSuper(proto, IDD_NOTE_EDIT, NULL),
+ CSuper(proto, IDD_NOTE_EDIT),
m_pNote(pNote),
m_fnProcess(fnProcess),
m_txtTitle(this, IDC_TXT_TITLE),