From 850259c4eab1a77d973af51cd3bd62fbbd09f591 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 04:23:01 +0000 Subject: SendMessage(... WM_GETTEXT ...) -> GetWindowText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11389 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/addeditsettingsdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp index adc64891a9..015523d8d8 100644 --- a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp +++ b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp @@ -344,7 +344,7 @@ INT_PTR CALLBACK EditSettingDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l if (valueLength) { if (dbsetting->dbv.type == DBVT_UTF8) - SendDlgItemMessageW(hwnd, valueID, WM_GETTEXT, valueLength+2, (LPARAM)value); + GetDlgItemTextW(hwnd, valueID, (LPWSTR)value, (valueLength + 2)); else GetWindowText(GetDlgItem(hwnd, valueID), value, valueLength+1); } -- cgit v1.2.3