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/ircproto.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/ircproto.cpp')
-rw-r--r-- | protocols/IRCG/src/ircproto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index a050bcba34..9dfd53c061 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -847,8 +847,8 @@ int CIrcProto::SetStatusInternal(int iNewStatus, bool bIsInternal) dlg->Show();
HWND hwnd = dlg->GetHwnd();
SetWindowTextA(hwnd, "Miranda IRC");
- SetWindowText(GetDlgItem(hwnd, IDC_TEXT), TranslateT("Please choose an IRC-network to go online. This network will be the default."));
- SetWindowText(GetDlgItem(hwnd, IDC_CAPTION), TranslateT("Default network"));
+ SetDlgItemText(hwnd, IDC_TEXT, TranslateT("Please choose an IRC-network to go online. This network will be the default."));
+ SetDlgItemText(hwnd, IDC_CAPTION, TranslateT("Default network"));
WindowSetIcon(hwnd, IDI_MAIN);
ShowWindow(hwnd, SW_SHOW);
SetActiveWindow(hwnd);
|