mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
use consistently GetWindowLongPtr also for Cairo on Windows
This commit is contained in:
parent
da9e53c608
commit
aad896a260
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
|
||||
gsDevice = device;
|
||||
GetClientRect(GSWINDEVICE, &sz);
|
||||
win = (WIN_INTERN *)GetWindowLong(GSWINDEVICE, GWL_USERDATA);
|
||||
win = (WIN_INTERN *)GetWindowLongPtr(GSWINDEVICE, GWLP_USERDATA);
|
||||
if (win && win->useHDC)
|
||||
{
|
||||
HGDIOBJ old;
|
||||
|
|
Loading…
Reference in a new issue