kryslt / KControls

Free components for Delphi and Lazarus, this is the main repository maintained by the original author.
BSD 3-Clause Clear License
59 stars 32 forks source link

Compilation issue... #21

Closed AzzaAzza69 closed 4 years ago

AzzaAzza69 commented 4 years ago

in kcontrols.pas

  TKCustomControl = class(TCustomControl)
  private
  {$IF DEFINED(FPC) OR NOT DEFINED(COMPILER10_UP)}
    FParentBackground: Boolean;
    FParentDoubleBuffered: Boolean;
...
  {$IF DEFINED(FPC) OR NOT DEFINED(COMPILER12_UP)}
    property ParentBackground: Boolean read FParentBackground write FParentBackground default True;

I had to change the second line to also use COMPILER10_UP. I'm using D2007 but I guess it's just because they are different version checks.

kryslt commented 4 years ago

Will be fixed.