From bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 05:13:25 +0000 Subject: SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ShellExt/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ShellExt/src') diff --git a/plugins/ShellExt/src/options.cpp b/plugins/ShellExt/src/options.cpp index a793ef6b78..d2b5f1cf7d 100644 --- a/plugins/ShellExt/src/options.cpp +++ b/plugins/ShellExt/src/options.cpp @@ -37,7 +37,7 @@ static INT_PTR CALLBACK OptDialogProc(HWND hwndDlg, UINT wMsg, WPARAM wParam, LP mir_sntprintf(szBuf, SIZEOF(szBuf), _T("%s (%s)"), TranslateTS(COM_OKSTR[ (comReg & COMREG_OK) != 0 ]), TranslateTS(COM_APPROVEDSTR[ (comReg & COMREG_APPROVED) != 0 ])); - SetWindowText(GetDlgItem(hwndDlg, IDC_STATUS), szBuf); + SetDlgItemText(hwndDlg, IDC_STATUS, szBuf); // auto size the static windows to fit their text // they're rendering in a font not selected into the DC. AutoSize(GetDlgItem(hwndDlg, IDC_CAPMENUS)); -- cgit v1.2.3