From 3615f38b14197411ed8ae434b38d2ec00bf62768 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 22 May 2012 21:06:02 +0000 Subject: NewAwaySysMod x64 compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@135 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewAwaySysMod/SetAwayMsg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/NewAwaySysMod/SetAwayMsg.cpp') diff --git a/plugins/NewAwaySysMod/SetAwayMsg.cpp b/plugins/NewAwaySysMod/SetAwayMsg.cpp index 50f876ff88..177a7a01e5 100644 --- a/plugins/NewAwaySysMod/SetAwayMsg.cpp +++ b/plugins/NewAwaySysMod/SetAwayMsg.cpp @@ -535,7 +535,7 @@ HICON g_LoadIconEx( const char* name, bool big ) mir_snprintf( szSettingName, sizeof( szSettingName ), "%s_%s", "", name ); return ( HICON )CallService( MS_SKIN2_GETICON, big, (LPARAM)szSettingName ); } -int CALLBACK SetAwayMsgDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK SetAwayMsgDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { static int SetMsgSplitterX, SetContactSplitterX; static SetAwayMsgData *dat; @@ -1656,11 +1656,11 @@ int CALLBACK SetAwayMsgDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP HCURSOR hCursor = NULL; if (hitFlags & (MCLCHT_ONITEM | MCLCHT_ONITEMEXTRA)) { - SetClassLong(hTreeView, GCL_HCURSOR, NULL); + SetClassLong(hTreeView, GCLP_HCURSOR, NULL); hCursor = LoadCursor(NULL, IDC_HAND); // set mouse cursor to a hand when hovering over items or their extra images } else { - SetClassLong(hTreeView, GCL_HCURSOR, (LONG)LoadCursor(NULL, IDC_ARROW)); + SetClassLong(hTreeView, GCLP_HCURSOR, (LONG)LoadCursor(NULL, IDC_ARROW)); } if (!hCursor) { @@ -1670,7 +1670,7 @@ int CALLBACK SetAwayMsgDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lP return true; } else { - SetClassLong(hTreeView, GCL_HCURSOR, (LONG)LoadCursor(NULL, IDC_ARROW)); + SetClassLong(hTreeView, GCLP_HCURSOR, (LONG)LoadCursor(NULL, IDC_ARROW)); } } break; case WM_CLOSE: -- cgit v1.2.3