VirtualTreeview: Move LCL implementation units in laz.VirtualTrees to interface uses section. Fixes building Laz/main with FPC/main.

This commit is contained in:
wp_xyz 2024-05-26 00:54:50 +02:00
parent 2751fd6fe7
commit 3635aa3044

View File

@ -89,12 +89,13 @@ uses
LCLType, LMessages, LCLVersion, Types, LCLType, LMessages, LCLVersion, Types,
SysUtils, Classes, Graphics, Controls, Forms, ImgList, StdCtrls, Menus, Printers, SysUtils, Classes, Graphics, Controls, Forms, ImgList, StdCtrls, Menus, Printers,
SyncObjs, // Thread support SyncObjs, // Thread support
Clipbrd // Clipboard support Clipbrd, // Clipboard support
TypInfo, // for migration stuff
ActnList,
StdActns, // for standard action support
GraphType
{$ifdef LCLCocoa} {$ifdef LCLCocoa}
,CocoaGDIObjects // hack: while using buffered drawing, multiply the context ,CocoaGDIObjects // hack: while using buffered drawing, multiply the context
// by the retina scale to achieve the needed scale for Retina
// Ideally - not to use Buffered. but Unbuffered drawing
// seems to need a fix
{$endif} {$endif}
{$ifdef ThemeSupport} {$ifdef ThemeSupport}
, Themes , TmSchema , Themes , TmSchema
@ -4150,21 +4151,17 @@ implementation
{$R laz.virtualtrees.res} {$R laz.virtualtrees.res}
uses uses
StrUtils, Math, StrUtils, Math
{$ifdef EnableOLE} {$ifdef EnableOLE}
//AxCtrls, // TOLEStream //, AxCtrls // TOLEStream
{$endif} {$endif}
{$ifdef Windows} {$ifdef Windows}
MMSystem, // for animation timer (does not include further resources) , MMSystem // for animation timer (does not include further resources)
{$else} {$else}
laz.FakeMMSystem, , laz.FakeMMSystem
{$endif} {$endif}
TypInfo, // for migration stuff
ActnList,
StdActns, // for standard action support
GraphType
{$ifdef EnableAccessible} {$ifdef EnableAccessible}
,laz.VTAccessibilityFactory , laz.VTAccessibilityFactory
{$endif}; // accessibility helper class {$endif}; // accessibility helper class
resourcestring resourcestring