diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 21:06:02 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-22 21:06:02 +0000 |
commit | 3615f38b14197411ed8ae434b38d2ec00bf62768 (patch) | |
tree | c9a81be7e979ceb3f75642f306eb42b1467575fd /plugins/NewAwaySysMod/SetAwayMsg.cpp | |
parent | 01354af31ca46355bd4dd03288e22602f139d2fe (diff) |
NewAwaySysMod x64 compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@135 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/SetAwayMsg.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/SetAwayMsg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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:
|