mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 18:19:08 +02:00
win32: replace TList by TFpList (FTimerData)
git-svn-id: trunk@39165 -
This commit is contained in:
parent
384db6d21b
commit
e25d6f24b3
@ -46,7 +46,7 @@ type
|
|||||||
|
|
||||||
var
|
var
|
||||||
// FTimerData contains the currently running timers
|
// FTimerData contains the currently running timers
|
||||||
FTimerData : TList; // list of PWin32Timerinfo
|
FTimerData : TFpList; // list of PWin32Timerinfo
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ constructor TWin32WidgetSet.Create;
|
|||||||
begin
|
begin
|
||||||
FPendingWaitHandlerIndex := -1;
|
FPendingWaitHandlerIndex := -1;
|
||||||
inherited Create;
|
inherited Create;
|
||||||
FTimerData := TList.Create;
|
FTimerData := TFpList.Create;
|
||||||
FMetrics.cbSize := SizeOf(FMetrics);
|
FMetrics.cbSize := SizeOf(FMetrics);
|
||||||
FMetricsFailed := not Windows.SystemParametersInfo(SPI_GETNONCLIENTMETRICS,
|
FMetricsFailed := not Windows.SystemParametersInfo(SPI_GETNONCLIENTMETRICS,
|
||||||
SizeOf(FMetrics), @FMetrics, 0);
|
SizeOf(FMetrics), @FMetrics, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user