mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
use consistently GetWindowLongPtr also for Cairo on Windows
This commit is contained in:
parent
d5abf2ff1c
commit
8640bfafe3
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
{
|
||||
if (self)
|
||||
{
|
||||
WIN_INTERN *win = (WIN_INTERN *)GetWindowLong((HWND)device, GWL_USERDATA);
|
||||
WIN_INTERN *win = (WIN_INTERN *)GetWindowLongPtr((HWND)device, GWLP_USERDATA);
|
||||
HDC hDC = GetDC((HWND)device);
|
||||
|
||||
// Save/set initial state...
|
||||
|
|
Loading…
Reference in a new issue