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/DbEditorPP/src/findwindow.cpp | |
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/DbEditorPP/src/findwindow.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/findwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/DbEditorPP/src/findwindow.cpp b/plugins/DbEditorPP/src/findwindow.cpp index 5866528233..9cb1ae78aa 100644 --- a/plugins/DbEditorPP/src/findwindow.cpp +++ b/plugins/DbEditorPP/src/findwindow.cpp @@ -117,14 +117,14 @@ INT_PTR CALLBACK FindWindowDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP fi->replace = mir_tstrdup(replace);
- SetWindowText(GetDlgItem(hwnd, IDOK), Translate("Stop"));
+ SetDlgItemText(hwnd, IDOK, Translate("Stop"));
EnableWindow(GetDlgItem(hwnd, IDC_SEARCH), 0);
if (IsDlgButtonChecked(hwnd, IDC_CASESENSITIVE))
fi->mode |= RW_CASE;
}
else {
- SetWindowText(GetDlgItem(hwnd, IDC_SEARCH), Translate("Stop"));
+ SetDlgItemText(hwnd, IDC_SEARCH, Translate("Stop"));
EnableWindow(GetDlgItem(hwnd, IDOK), 0);
}
@@ -625,10 +625,10 @@ void __cdecl FindSettings(LPVOID di) if (GetWindowLongPtr(GetDlgItem(prnthwnd, IDC_REPLACE), GWLP_USERDATA)) {
SetWindowLongPtr(GetDlgItem(prnthwnd, IDC_REPLACE), GWLP_USERDATA, 0);
EnableWindow(GetDlgItem(prnthwnd, IDC_SEARCH), 1);
- SetWindowText(GetDlgItem(prnthwnd, IDOK), Translate("&Replace"));
+ SetDlgItemText(prnthwnd, IDOK, Translate("&Replace"));
}
else {
- SetWindowText(GetDlgItem(prnthwnd, IDC_SEARCH), Translate("&Search"));
+ SetDlgItemText(prnthwnd, IDC_SEARCH, Translate("&Search"));
EnableWindow(GetDlgItem(prnthwnd, IDOK), 1);
}
|