diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 05:13:25 +0000 |
commit | bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 (patch) | |
tree | 1d5319a5cb712b9b56ad4834acc9a5198e6adb97 /plugins/Sessions | |
parent | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (diff) |
SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Sessions')
-rw-r--r-- | plugins/Sessions/Src/Options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Sessions/Src/Options.cpp b/plugins/Sessions/Src/Options.cpp index 633f5f1737..744bded037 100644 --- a/plugins/Sessions/Src/Options.cpp +++ b/plugins/Sessions/Src/Options.cpp @@ -333,7 +333,7 @@ static INT_PTR CALLBACK OptionsProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM l ShowWindow(GetDlgItem(hdlg, IDC_OPCLIST), SW_HIDE);
EnableWindow(GetDlgItem(hdlg, IDC_DEL), FALSE);
//EnableWindow(GetDlgItem(hdlg,IDC_SAVE),TRUE);
- SetWindowText(GetDlgItem(hdlg, IDC_EDIT), TranslateT("View"));
+ SetDlgItemText(hdlg, IDC_EDIT, TranslateT("View"));
hOpClistControl = CreateWindowEx(WS_EX_STATICEDGE, _T(CLISTCONTROL_CLASS), _T(""),
WS_TABSTOP | WS_VISIBLE | WS_CHILD,
14, 198, 161, 163, hdlg, (HMENU)IDC_EMCLIST, g_hInst, 0);
@@ -353,7 +353,7 @@ static INT_PTR CALLBACK OptionsProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM l ShowWindow(GetDlgItem(hdlg, IDC_OPCLIST), SW_SHOWNA);
EnableWindow(GetDlgItem(hdlg, IDC_DEL), TRUE);
EnableWindow(GetDlgItem(hdlg, IDC_SAVE), FALSE);
- SetWindowText(GetDlgItem(hdlg, IDC_EDIT), TranslateT("Edit"));
+ SetDlgItemText(hdlg, IDC_EDIT, TranslateT("Edit"));
DestroyWindow(hOpClistControl);
hOpClistControl = NULL;
}
|