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/input.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/input.cpp')
-rw-r--r-- | protocols/IRCG/src/input.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/input.cpp b/protocols/IRCG/src/input.cpp index 9c66bffb8e..23ee8d4b55 100644 --- a/protocols/IRCG/src/input.cpp +++ b/protocols/IRCG/src/input.cpp @@ -777,12 +777,12 @@ static void __stdcall DoInputRequestAliasApcStub(void* _par) SetDlgItemText(question_hWnd, IDC_CAPTION, TranslateT("Input command"));
if (infotext)
- SetWindowText(GetDlgItem(question_hWnd, IDC_TEXT), infotext);
+ SetDlgItemText(question_hWnd, IDC_TEXT, infotext);
else
- SetWindowText(GetDlgItem(question_hWnd, IDC_TEXT), TranslateT("Please enter the reply"));
+ SetDlgItemText(question_hWnd, IDC_TEXT, TranslateT("Please enter the reply"));
if (defaulttext)
- SetWindowText(GetDlgItem(question_hWnd, IDC_EDIT), defaulttext);
+ SetDlgItemText(question_hWnd, IDC_EDIT, defaulttext);
SetDlgItemText(question_hWnd, IDC_HIDDENEDIT, command.c_str());
dlg->Activate();
|