From 7e97bbad5f31058886766c569303a0da648cbe92 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 03:59:41 +0000 Subject: SendDlgItemMessage(...., WM_SETTEXT...) -> SetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SimpleStatusMsg/src/msgbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SimpleStatusMsg/src') diff --git a/plugins/SimpleStatusMsg/src/msgbox.cpp b/plugins/SimpleStatusMsg/src/msgbox.cpp index 633eb257cf..4b265fa354 100644 --- a/plugins/SimpleStatusMsg/src/msgbox.cpp +++ b/plugins/SimpleStatusMsg/src/msgbox.cpp @@ -698,7 +698,7 @@ void DisplayCharsCount(struct MsgBoxData *dlg_data, HWND hwndDlg) } } mir_sntprintf(status_text, SIZEOF(status_text), TranslateT("OK (%d)"), len - (lines - 1)); - SendDlgItemMessage(hwndDlg, IDC_OK, WM_SETTEXT, 0, (LPARAM)status_text); + SetDlgItemText(hwndDlg, IDC_OK, status_text); } void SetEditControlText(struct MsgBoxData *data, HWND hwndDlg, int iStatus) -- cgit v1.2.3