* Properly implement TimeGetTime and set DropTarget to true. Issue 20732

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum 2011-12-11 13:19:07 +00:00
parent 82c33c64f8
commit 0762a333ab
2 changed files with 5 additions and 8 deletions

View File

@ -666,6 +666,7 @@ function TVTDragManager.GetIsDropTarget: Boolean;
begin
//Result := FIsDropTarget;
Result := True;
end;
//----------------------------------------------------------------------------------------------------------------------

View File

@ -5,7 +5,7 @@ unit fakemmsystem;
interface
uses
Classes, SysUtils, Types;
Classes, SysUtils, Types, LCLIntf;
function timeBeginPeriod(x1: DWord): DWord;
@ -17,21 +17,17 @@ implementation
function timeBeginPeriod(x1: DWord): DWord;
begin
//
end;
function timeEndPeriod(x1: DWord): DWord;
begin
//
end;
function timeGetTime: DWORD;
var
ATime: TSystemTime;
begin
//todo: properly implement
GetLocalTime(ATime);
Result := ATime.MilliSecond;
Result := GetTickCount;
end;
end.