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/WebView/src/webview.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/WebView/src/webview.h') diff --git a/plugins/WebView/src/webview.h b/plugins/WebView/src/webview.h index 82a264fc1b..967645e4b8 100644 --- a/plugins/WebView/src/webview.h +++ b/plugins/WebView/src/webview.h @@ -23,6 +23,7 @@ #define CFM_BACKCOLOR 0x04000000 #define MODULENAME "WebView" +#define MODULENAMEW L"WebView" #define MENU_OFF "DisableMenu" #define REFRESH_KEY "Refresh interval" @@ -156,7 +157,7 @@ void SavewinSettings(void); void ValidatePosition(HWND hwndDlg); int ModulesLoaded(WPARAM wParam, LPARAM lParam); void ChangeMenuItem3(); -TCHAR* FixButtonText(TCHAR *url, size_t len); +wchar_t* FixButtonText(wchar_t *url, size_t len); int ContactMenuItemUpdateData (WPARAM wParam, LPARAM lParam); int Doubleclick(WPARAM wParam, LPARAM lParam); @@ -224,8 +225,8 @@ INT_PTR CALLBACK DlgProcContactOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM void AckFunc(void *dummy); int SiteDeleted(WPARAM wParam, LPARAM lParam); -int WErrorPopup(MCONTACT hContact, TCHAR *textdisplay); -int WAlertPopup(MCONTACT hContact, TCHAR *displaytext); +int WErrorPopup(MCONTACT hContact, wchar_t *textdisplay); +int WAlertPopup(MCONTACT hContact, wchar_t *displaytext); ////////////////////// // wrappers -- cgit v1.2.3