summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 03:59:41 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 03:59:41 +0000
commit7e97bbad5f31058886766c569303a0da648cbe92 (patch)
treea1738907125dd0cf9f384306de6101e4f3f3f951 /plugins/DbEditorPP/src
parentfe0465b11a317db5408d897484caedc3a5f10c47 (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/DbEditorPP/src')
-rw-r--r--plugins/DbEditorPP/src/addeditsettingsdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp
index f0db0ef869..adc64891a9 100644
--- a/plugins/DbEditorPP/src/addeditsettingsdlg.cpp
+++ b/plugins/DbEditorPP/src/addeditsettingsdlg.cpp
@@ -202,7 +202,7 @@ INT_PTR CALLBACK EditSettingDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
int length = (int)strlen(tmp) + 1;
WCHAR *wc = (WCHAR*)_alloca(length*sizeof(WCHAR));
MultiByteToWideChar(CP_UTF8, 0, tmp, -1, wc, length);
- SendDlgItemMessageW(hwnd, IDC_STRING, WM_SETTEXT, 0, (LPARAM)wc);
+ SetDlgItemTextW(hwnd, IDC_STRING, wc);
SetWindowText(hwnd, Translate("Edit UNICODE value"));
SetDlgItemText(hwnd, IDC_SETTINGNAME, ((struct DBsetting*)lParam)->setting);