mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:00:24 +02:00
VirtualTreeView: fix SetWindowLongPtrW
This commit is contained in:
parent
be48000561
commit
967ec6c4f6
@ -92,7 +92,7 @@ begin
|
||||
nil, WS_POPUP, X - lSize.CX div 2, Y - lSize.CY div 2, lSize.CX, lSize.CY,
|
||||
OwnerHandle, 0, HInstance, nil);
|
||||
//todo use SetWindowLongPtr later
|
||||
SetWindowLong(FHandle,GWL_USERDATA,PtrInt(Self));
|
||||
SetWindowLongPtrW(FHandle,GWL_USERDATA,PtrInt(Self));
|
||||
|
||||
FImage := TBitmap.Create;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user