datetimectrls: simplified unit dependencies

This commit is contained in:
mattias 2023-08-25 12:49:44 +02:00
parent 53db93de09
commit f83b8b4cc3

View File

@ -45,14 +45,14 @@ uses
{$if defined(UNIX) and not defined(OPENBSD)}
clocale, // needed to initialize default locale settings on Linux.
{$endif}
Types, Classes, SysUtils, Math,
Types, Classes, SysUtils, Math, DateUtils,
// LCL
LCLType, LCLIntf, LMessages, Controls, Graphics, Buttons, ExtCtrls, Forms, ComCtrls,
Themes,
// LazUtils
LazUTF8, LazMethodList,
// DateTimeCtrls
CalControlWrapper;
LCLCalWrapper, CalControlWrapper;
const
{ We will deal with the NullDate value the special way. It will be especially
@ -574,9 +574,6 @@ function dbgs(const Parts: TDateTimeParts): string; overload;
implementation
uses
DateUtils, LCLCalWrapper;
const
DefaultUpDownWidth = 15;
DefaultArrowButtonWidth = DefaultUpDownWidth + 2;