mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +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)
|
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);
|
HDC hDC = GetDC((HWND)device);
|
||||||
|
|
||||||
// Save/set initial state...
|
// Save/set initial state...
|
||||||
|
|
Loading…
Reference in a new issue