mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 10:49:28 +02:00
LCL: reverted TLMMouse Keys to PtrInt.
Qt: fixed wrong cast in TQtTimer.Create(), cast to THandle(PtrUInt) instead to PtrInt, fixes crash on 32bit with -Cr git-svn-id: trunk@27788 -
This commit is contained in:
parent
339f85f006
commit
e6a8e1e2a4
@ -158,7 +158,7 @@ var
|
||||
begin
|
||||
QtTimer := TQtTimer.CreateTimer(Interval, TimerFunc, App);
|
||||
|
||||
Result := PtrInt(QtTimer);
|
||||
Result := THandle(QtTimer);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -433,7 +433,7 @@ type
|
||||
|
||||
TLMMouse = record
|
||||
Msg : Cardinal;
|
||||
Keys: PtrUInt;
|
||||
Keys: PtrInt;
|
||||
case Integer of
|
||||
0: (
|
||||
XPos: SmallInt;
|
||||
|
Loading…
Reference in New Issue
Block a user