summaryrefslogtreecommitdiff
path: root/plugins/BuddyPounce
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 /plugins/BuddyPounce
parent0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff)
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BuddyPounce')
-rw-r--r--plugins/BuddyPounce/src/dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/BuddyPounce/src/dialog.cpp b/plugins/BuddyPounce/src/dialog.cpp
index de7e487105..e9be19366a 100644
--- a/plugins/BuddyPounce/src/dialog.cpp
+++ b/plugins/BuddyPounce/src/dialog.cpp
@@ -614,13 +614,13 @@ void CreateMessageAcknowlegedWindow(MCONTACT hContact, int SentSuccess)
TCHAR msg[256];
if (SentSuccess) {
mir_sntprintf(msg, SIZEOF(msg), TranslateT("Message successfully sent to %s"), CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR));
- SetWindowText(GetDlgItem(hwnd, IDOK), TranslateT("OK"));
+ SetDlgItemText(hwnd, IDOK, TranslateT("OK"));
ShowWindow(GetDlgItem(hwnd, IDCANCEL), 0);
}
else {
mir_sntprintf(msg, SIZEOF(msg), TranslateT("Message failed to send to %s"), CallService(MS_CLIST_GETCONTACTDISPLAYNAME, hContact, GCDNF_TCHAR));
- SetWindowText(GetDlgItem(hwnd, IDOK), TranslateT("Retry"));
+ SetDlgItemText(hwnd, IDOK, TranslateT("Retry"));
}
- SetWindowText(GetDlgItem(hwnd, LBL_CONTACT), msg);
+ SetDlgItemText(hwnd, LBL_CONTACT, msg);
SetWindowText(hwnd, TranslateT(modFullname));
}