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 /plugins/AVS | |
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 'plugins/AVS')
-rw-r--r-- | plugins/AVS/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/AVS/src/services.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp index cf79a909f2..c14a5f857a 100644 --- a/plugins/AVS/src/options.cpp +++ b/plugins/AVS/src/options.cpp @@ -400,7 +400,7 @@ static INT_PTR CALLBACK DlgProcOptionsProtos(HWND hwndDlg, UINT msg, WPARAM wPar db_free(&dbv); } else { - SetWindowText(GetDlgItem(hwndDlg, IDC_PROTOAVATARNAME), _T("")); + SetDlgItemText(hwndDlg, IDC_PROTOAVATARNAME, _T("")); InvalidateRect(GetDlgItem(hwndDlg, IDC_PROTOPIC), NULL, TRUE); } } diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index 750a2098a7..e6abe62f98 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -298,8 +298,8 @@ static UINT_PTR CALLBACK SetMyAvatarHookProc(HWND hwnd, UINT msg, WPARAM, LPARAM data = (SetMyAvatarHookData *)ofn->lCustData;
data->thumbnail = TRUE;
- SetWindowText(GetDlgItem(hwnd, IDC_MAKE_SQUARE), TranslateT("Make the avatar square"));
- SetWindowText(GetDlgItem(hwnd, IDC_GROW), TranslateT("Grow avatar to fit max allowed protocol size"));
+ SetDlgItemText(hwnd, IDC_MAKE_SQUARE, TranslateT("Make the avatar square"));
+ SetDlgItemText(hwnd, IDC_GROW, TranslateT("Grow avatar to fit max allowed protocol size"));
CheckDlgButton(hwnd, IDC_MAKE_SQUARE, data->square ? BST_CHECKED : BST_UNCHECKED);
CheckDlgButton(hwnd, IDC_GROW, data->grow ? BST_CHECKED : BST_UNCHECKED);
|