[Lazarus] Code comment conflicts with code in LCL

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Feb 3 23:17:49 CET 2018


Please see the lcl/themes.pas unit


===================================
unit Themes;

{$mode objfpc}{$H+}

interface

uses
   // no Graphics or Controls can be used here to prevent circular 
references
   //
   SysUtils, Types, GraphType, Math, Classes, LCLProc, LCLType, Graphics,
   TmSchema;

type
===================================


Note the code comment about "Graphics", but then that unit IS used in 
the uses clause. :)


Trunk r57236 (from today)

Regards,
   Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the Lazarus mailing list