win32: Use GCLP_* instead of GCL_* when calling GetClassLongPtr

(commit message by Neil)

GetClassLongPtr expects a different constant when retrieving handles
or pointers. This fixes problems using Win64.
This commit is contained in:
Fridrich Strba 2010-04-09 15:43:42 +01:00 committed by Neil Roberts
parent f2776ea32b
commit c99a24d341

View File

@ -222,7 +222,7 @@ _clutter_stage_win32_update_cursor (ClutterStageWin32 *stage_win32)
HCURSOR cursor; HCURSOR cursor;
if (stage_win32->is_cursor_visible) if (stage_win32->is_cursor_visible)
cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCL_HCURSOR); cursor = (HCURSOR) GetClassLongPtrW (stage_win32->hwnd, GCLP_HCURSOR);
else else
{ {
ClutterBackend *backend = clutter_get_default_backend (); ClutterBackend *backend = clutter_get_default_backend ();