diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
commit | bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch) | |
tree | 1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /protocols/IRCG/src/options.cpp | |
parent | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff) |
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/options.cpp')
-rw-r--r-- | protocols/IRCG/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index f07846f49f..8633977dd1 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -1226,7 +1226,7 @@ void CAddIgnoreDlg::OnInitDialog() {
if (szOldMask[0] == 0) {
if (m_proto->IsConnected())
- SetWindowText(GetDlgItem(m_hwnd, IDC_NETWORK), m_proto->m_info.sNetwork.c_str());
+ SetDlgItemText(m_hwnd, IDC_NETWORK, m_proto->m_info.sNetwork.c_str());
CheckDlgButton(m_hwnd, IDC_Q, BST_CHECKED);
CheckDlgButton(m_hwnd, IDC_N, BST_CHECKED);
CheckDlgButton(m_hwnd, IDC_I, BST_CHECKED);
@@ -1538,8 +1538,8 @@ void CIgnorePrefsDlg::OnEdit(CCtrlButton*) if (_tcschr(szFlags, 'm'))
CheckDlgButton(hWnd, IDC_M, BST_CHECKED);
}
- SetWindowText(GetDlgItem(hWnd, IDC_MASK), szMask);
- SetWindowText(GetDlgItem(hWnd, IDC_NETWORK), szNetwork);
+ SetDlgItemText(hWnd, IDC_MASK, szMask);
+ SetDlgItemText(hWnd, IDC_NETWORK, szNetwork);
m_add.Disable();
m_edit.Disable();
m_del.Disable();
|