diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-13 19:34:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-13 19:34:27 +0000 |
commit | 5823fde31b7185403f6fe4f24c1a858d63bfa2d3 (patch) | |
tree | 796b522f4f1c1986fb749457ee3f904157e928c5 /src/modules/clist/clui.cpp | |
parent | cbdba41a954b4cf8849cc12ba5d27c458288c146 (diff) |
- boost updated to 1.53, and should be placed into ..\..\boost folder
- various compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clui.cpp')
-rw-r--r-- | src/modules/clist/clui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp index 307cc0b914..ab4b7db76a 100644 --- a/src/modules/clist/clui.cpp +++ b/src/modules/clist/clui.cpp @@ -96,7 +96,7 @@ static int MenuItem_PreBuild(WPARAM, LPARAM) CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIM_FLAGS;
GetClassName(hwndClist, cls, SIZEOF(cls));
- hwndClist = ( !lstrcmp(CLISTCONTROL_CLASS, cls)) ? hwndClist : cli.hwndContactList;
+ hwndClist = ( !lstrcmp( _T(CLISTCONTROL_CLASS), cls)) ? hwndClist : cli.hwndContactList;
hItem = (HANDLE) SendMessage(hwndClist, CLM_GETSELECTION, 0, 0);
if ( !hItem)
mi.flags = CMIM_FLAGS | CMIF_HIDDEN;
@@ -111,7 +111,7 @@ static INT_PTR MenuItem_RenameContact(WPARAM, LPARAM) HWND hwndClist = GetFocus();
GetClassName(hwndClist, cls, SIZEOF(cls));
// worst case scenario, the rename is sent to the main contact list
- hwndClist = ( !lstrcmp(CLISTCONTROL_CLASS, cls)) ? hwndClist : cli.hwndContactList;
+ hwndClist = ( !lstrcmp( _T(CLISTCONTROL_CLASS), cls)) ? hwndClist : cli.hwndContactList;
hItem = (HANDLE) SendMessage(hwndClist, CLM_GETSELECTION, 0, 0);
if (hItem) {
SetFocus(hwndClist);
@@ -287,7 +287,7 @@ int LoadCLUIModule(void) wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
wndclass.hbrBackground = NULL;
wndclass.lpszMenuName = NULL;
- wndclass.lpszClassName = CLISTCONTROL_CLASS;
+ wndclass.lpszClassName = _T(CLISTCONTROL_CLASS);
wndclass.hIconSm = NULL;
RegisterClassEx(&wndclass);
@@ -510,7 +510,7 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM return FALSE;
case M_CREATECLC:
- cli.hwndContactTree = CreateWindow(CLISTCONTROL_CLASS, _T(""),
+ cli.hwndContactTree = CreateWindow( _T(CLISTCONTROL_CLASS), _T(""),
WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN
| CLS_CONTACTLIST
| (db_get_b(NULL, "CList", "UseGroups", SETTING_USEGROUPS_DEFAULT) ? CLS_USEGROUPS : 0)
|