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:
zeljko 2010-10-21 10:53:10 +00:00
parent 339f85f006
commit e6a8e1e2a4
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ var
begin
QtTimer := TQtTimer.CreateTimer(Interval, TimerFunc, App);
Result := PtrInt(QtTimer);
Result := THandle(QtTimer);
end;
{------------------------------------------------------------------------------

View File

@ -433,7 +433,7 @@ type
TLMMouse = record
Msg : Cardinal;
Keys: PtrUInt;
Keys: PtrInt;
case Integer of
0: (
XPos: SmallInt;