mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed compile errors for 64 bits targets in WindowImplWin32
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1561 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
2d83514452
commit
e4725e03dc
@ -83,8 +83,8 @@ myIsCursorIn (false)
|
|||||||
myHeight = rectangle.bottom - rectangle.top;
|
myHeight = rectangle.bottom - rectangle.top;
|
||||||
|
|
||||||
// We change the event procedure of the control (it is important to save the old one)
|
// We change the event procedure of the control (it is important to save the old one)
|
||||||
SetWindowLongPtr(myHandle, GWLP_USERDATA, reinterpret_cast<long>(this));
|
SetWindowLongPtr(myHandle, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(this));
|
||||||
myCallback = SetWindowLongPtr(myHandle, GWLP_WNDPROC, reinterpret_cast<long>(&WindowImplWin32::GlobalOnEvent));
|
myCallback = SetWindowLongPtr(myHandle, GWLP_WNDPROC, reinterpret_cast<LONG_PTR>(&WindowImplWin32::GlobalOnEvent));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user