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:
parent
f2776ea32b
commit
c99a24d341
@ -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 ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user