From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ClientChangeNotify/src/OptDlg.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/ClientChangeNotify/src/OptDlg.cpp') diff --git a/plugins/ClientChangeNotify/src/OptDlg.cpp b/plugins/ClientChangeNotify/src/OptDlg.cpp index 4aefc4c519..9ec69fe61c 100644 --- a/plugins/ClientChangeNotify/src/OptDlg.cpp +++ b/plugins/ClientChangeNotify/src/OptDlg.cpp @@ -58,17 +58,17 @@ void EnablePopupOptDlgControls() static struct { - TCHAR *Text; + wchar_t *Text; int Action; } PopupActions[] = { - LPGENT("Open message window"), PCA_OPENMESSAGEWND, - LPGENT("Close popup"), PCA_CLOSEPOPUP, - LPGENT("Open contact details window"), PCA_OPENDETAILS, - LPGENT("Open contact menu"), PCA_OPENMENU, - LPGENT("Open contact history"), PCA_OPENHISTORY, - LPGENT("Do nothing"), PCA_DONOTHING + LPGENW("Open message window"), PCA_OPENMESSAGEWND, + LPGENW("Close popup"), PCA_CLOSEPOPUP, + LPGENW("Open contact details window"), PCA_OPENDETAILS, + LPGENW("Open contact menu"), PCA_OPENMENU, + LPGENW("Open contact history"), PCA_OPENHISTORY, + LPGENW("Do nothing"), PCA_DONOTHING }; INT_PTR CALLBACK PopupOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) @@ -163,11 +163,11 @@ int OptionsDlgInit(WPARAM wParam, LPARAM) if (bPopupExists) { OPTIONSDIALOGPAGE optDi = { sizeof(optDi) }; optDi.position = 920000000; - optDi.ptszTitle = LPGENT("ClientChangeNotify"); + optDi.pwszTitle = LPGENW("ClientChangeNotify"); optDi.pfnDlgProc = PopupOptDlg; optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG); optDi.hInstance = g_hInstance; - optDi.ptszGroup = LPGENT("Popups"); + optDi.pwszGroup = LPGENW("Popups"); optDi.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; Options_AddPage(wParam, &optDi); } -- cgit v1.2.3