diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 03:59:41 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 03:59:41 +0000 |
commit | 7e97bbad5f31058886766c569303a0da648cbe92 (patch) | |
tree | a1738907125dd0cf9f384306de6101e4f3f3f951 /src/core/stdchat | |
parent | fe0465b11a317db5408d897484caedc3a5f10c47 (diff) |
SendDlgItemMessage(...., WM_SETTEXT...) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdchat')
-rw-r--r-- | src/core/stdchat/src/window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdchat/src/window.cpp b/src/core/stdchat/src/window.cpp index c7e903c8dd..e878258846 100644 --- a/src/core/stdchat/src/window.cpp +++ b/src/core/stdchat/src/window.cpp @@ -1723,8 +1723,8 @@ END_REMOVETAB: break;
case GC_ACKMESSAGE:
- SendDlgItemMessage(hwndDlg,IDC_MESSAGE,EM_SETREADONLY,FALSE,0);
- SendDlgItemMessage(hwndDlg,IDC_MESSAGE,WM_SETTEXT,0, (LPARAM)"");
+ SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_SETREADONLY, FALSE, 0);
+ SetDlgItemText(hwndDlg, IDC_MESSAGE, _T(""));
return TRUE;
case WM_CTLCOLORLISTBOX:
@@ -2320,7 +2320,7 @@ LABEL_SHOWWINDOW: EnableWindow(GetDlgItem(hwndDlg, IDC_MESSAGE), FALSE);
SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_SETREADONLY, TRUE, 0);
}
- else SendDlgItemMessage(hwndDlg, IDC_MESSAGE, WM_SETTEXT, 0, (LPARAM)_T(""));
+ else SetDlgItemText(hwndDlg, IDC_MESSAGE, _T(""));
EnableWindow(GetDlgItem(hwndDlg, IDOK), FALSE);
|