* 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:
parent
82c33c64f8
commit
0762a333ab
@ -666,6 +666,7 @@ function TVTDragManager.GetIsDropTarget: Boolean;
|
||||
|
||||
begin
|
||||
//Result := FIsDropTarget;
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user