diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:46:09 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:46:09 +0000 |
commit | b0e15a2d768b04ad5a5bb1c591c6b043469baeb5 (patch) | |
tree | 380ae36ef460ec5e9fe17b9736d0aa3514f911af /plugins/SMS/src | |
parent | bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (diff) |
SendMessage(.... WM_SETTEXT...) -> SetWindowText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS/src')
-rw-r--r-- | plugins/SMS/src/recvdlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SMS/src/recvdlg.cpp b/plugins/SMS/src/recvdlg.cpp index d2aba654f3..5a02b133bf 100644 --- a/plugins/SMS/src/recvdlg.cpp +++ b/plugins/SMS/src/recvdlg.cpp @@ -223,7 +223,7 @@ HWND RecvSMSWindowAdd(MCONTACT hContact,DWORD dwEventType,LPWSTR lpwszPhone,size mir_sntprintf(wszTitle,SIZEOF(wszTitle),_T("%s - %s"),lpwszContactDisplayName,lpwszTitlepart);
MultiByteToWideChar(CP_UTF8,0,lpszMessage,dwMessageSize,lpwszMessage,(dwMessageSize+MAX_PATH));
- SendMessageW(prswdWindowData->hWnd,WM_SETTEXT,NULL,(LPARAM)wszTitle);
+ SetWindowText(prswdWindowData->hWnd, wszTitle);
SetDlgItemText(prswdWindowData->hWnd,IDC_NAME,lpwszContactDisplayName);
SetDlgItemText(prswdWindowData->hWnd,IDC_NUMBER,wszPhoneLocal);
SetDlgItemText(prswdWindowData->hWnd,IDC_MESSAGE,lpwszMessage);
|