summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:13:25 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 05:13:25 +0000
commitbc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch)
tree1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /protocols/JabberG/src
parent0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff)
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_adhoc.cpp2
-rw-r--r--protocols/JabberG/src/jabber_console.cpp2
-rw-r--r--protocols/JabberG/src/jabber_privacy.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_adhoc.cpp b/protocols/JabberG/src/jabber_adhoc.cpp
index 5590c80f51..397676d12f 100644
--- a/protocols/JabberG/src/jabber_adhoc.cpp
+++ b/protocols/JabberG/src/jabber_adhoc.cpp
@@ -266,7 +266,7 @@ int CJabberProto::AdHoc_OnJAHMProcessResult(HWND hwndDlg, HXML workNode, JabberA
if (!status || _tcscmp(status, _T("executing"))) {
ShowDlgItem(hwndDlg, IDC_SUBMIT, SW_HIDE);
- SetWindowText(GetDlgItem(hwndDlg, IDCANCEL), TranslateT("Done"));
+ SetDlgItemText(hwndDlg, IDCANCEL, TranslateT("Done"));
}
}
else if (!mir_tstrcmp(type, _T("error"))) {
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp
index 08336c73fe..7da3ff31b9 100644
--- a/protocols/JabberG/src/jabber_console.cpp
+++ b/protocols/JabberG/src/jabber_console.cpp
@@ -354,7 +354,7 @@ void CJabberDlgConsole::OnInitDialog()
mir_tstrncpy(m_proto->m_filterInfo.pattern, tszPattern, SIZEOF(m_proto->m_filterInfo.pattern));
sttJabberConsoleRebuildStrings(m_proto, GetDlgItem(m_hwnd, IDC_CB_FILTER));
- SetWindowText(GetDlgItem(m_hwnd, IDC_CB_FILTER), m_proto->m_filterInfo.pattern);
+ SetDlgItemText(m_hwnd, IDC_CB_FILTER, m_proto->m_filterInfo.pattern);
struct
{
diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp
index 5724a4c0a7..b574a33309 100644
--- a/protocols/JabberG/src/jabber_privacy.cpp
+++ b/protocols/JabberG/src/jabber_privacy.cpp
@@ -1633,7 +1633,7 @@ void CJabberDlgPrivacyLists::btnAddJid_OnClick(CCtrlButton *)
int len = GetWindowTextLength(GetDlgItem(m_hwnd, IDC_NEWJID))+1;
TCHAR *buf = (TCHAR *)_alloca(sizeof(TCHAR) * len);
GetDlgItemText(m_hwnd, IDC_NEWJID, buf, len);
- SetWindowText(GetDlgItem(m_hwnd, IDC_NEWJID), _T(""));
+ SetDlgItemText(m_hwnd, IDC_NEWJID, _T(""));
CListAddContact(GetDlgItem(m_hwnd, IDC_CLIST), buf);
}