From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/smltool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SmileyAdd/src/smltool.cpp') diff --git a/plugins/SmileyAdd/src/smltool.cpp b/plugins/SmileyAdd/src/smltool.cpp index c310abdbd6..d427c47644 100644 --- a/plugins/SmileyAdd/src/smltool.cpp +++ b/plugins/SmileyAdd/src/smltool.cpp @@ -525,7 +525,7 @@ void SmileyToolWindowType::InitDialog(LPARAM lParam) if (opt.AnimateSel) SetTimer(m_hwndDialog, 1, 100, NULL); //add tooltips - m_hToolTip = CreateWindowEx(WS_EX_TOPMOST, TOOLTIPS_CLASS, _T(""), + m_hToolTip = CreateWindowEx(WS_EX_TOPMOST, TOOLTIPS_CLASS, L"", TTS_NOPREFIX | WS_POPUP, 0, 0, 0, 0, m_hwndDialog, NULL, g_hInst, NULL); TOOLINFO ti = { 0 }; ti.cbSize = sizeof(ti); @@ -728,11 +728,11 @@ void __cdecl SmileyToolThread(void *arg) wndclass.hCursor = LoadCursor(NULL, IDC_ARROW); wndclass.hbrBackground = CreateSolidBrush(opt.SelWndBkgClr); wndclass.lpszMenuName = NULL; - wndclass.lpszClassName = _T("SmileyTool"); + wndclass.lpszClassName = L"SmileyTool"; wndclass.hIconSm = NULL; RegisterClassEx(&wndclass); - CreateWindowEx(WS_EX_TOPMOST | WS_EX_NOPARENTNOTIFY, _T("SmileyTool"), NULL, + CreateWindowEx(WS_EX_TOPMOST | WS_EX_NOPARENTNOTIFY, L"SmileyTool", NULL, WS_BORDER | WS_POPUP | WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, ((SmileyToolWindowParam*)arg)->hWndParent, NULL, g_hInst, arg); @@ -744,7 +744,7 @@ void __cdecl SmileyToolThread(void *arg) TranslateMessage(&msg); DispatchMessage(&msg); } - UnregisterClass(_T("SmileyTool"), g_hInst); + UnregisterClass(L"SmileyTool", g_hInst); } delete stwp; } -- cgit v1.2.3