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 /plugins/TabSRMM/src | |
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 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index 90c106978e..31867c1649 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -2134,7 +2134,7 @@ INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar case GC_ACKMESSAGE: SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, EM_SETREADONLY, FALSE, 0); - SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, WM_SETTEXT, 0, (LPARAM)_T("")); + SetDlgItemText(hwndDlg, IDC_CHAT_MESSAGE, _T("")); return TRUE; case DM_TYPING: { @@ -2893,7 +2893,7 @@ LABEL_SHOWWINDOW: Utils::enableDlgControl(hwndDlg, IDC_CHAT_MESSAGE, FALSE); SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, EM_SETREADONLY, TRUE, 0); } - else SendDlgItemMessage(hwndDlg, IDC_CHAT_MESSAGE, WM_SETTEXT, 0, (LPARAM)_T("")); + else SetDlgItemText(hwndDlg, IDC_CHAT_MESSAGE, _T("")); Utils::enableDlgControl(hwndDlg, IDOK, FALSE); |