* 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
|
begin
|
||||||
//Result := FIsDropTarget;
|
//Result := FIsDropTarget;
|
||||||
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -5,7 +5,7 @@ unit fakemmsystem;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Types;
|
Classes, SysUtils, Types, LCLIntf;
|
||||||
|
|
||||||
function timeBeginPeriod(x1: DWord): DWord;
|
function timeBeginPeriod(x1: DWord): DWord;
|
||||||
|
|
||||||
@ -17,21 +17,17 @@ implementation
|
|||||||
|
|
||||||
function timeBeginPeriod(x1: DWord): DWord;
|
function timeBeginPeriod(x1: DWord): DWord;
|
||||||
begin
|
begin
|
||||||
|
//
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function timeEndPeriod(x1: DWord): DWord;
|
function timeEndPeriod(x1: DWord): DWord;
|
||||||
begin
|
begin
|
||||||
|
//
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function timeGetTime: DWORD;
|
function timeGetTime: DWORD;
|
||||||
var
|
|
||||||
ATime: TSystemTime;
|
|
||||||
begin
|
begin
|
||||||
//todo: properly implement
|
Result := GetTickCount;
|
||||||
GetLocalTime(ATime);
|
|
||||||
Result := ATime.MilliSecond;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user