From e3aa48ff3efde81069f3049ce8296c328ab8fa65 Mon Sep 17 00:00:00 2001 From: bart <9132501-flyingsheep@users.noreply.gitlab.com> Date: Thu, 10 Apr 2014 17:06:32 +0000 Subject: [PATCH] TCustomEditBtn: initialize Color property in constructor. git-svn-id: trunk@44668 - --- lcl/editbtn.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/lcl/editbtn.pas b/lcl/editbtn.pas index 014e18d8eb..a4cd2b8060 100644 --- a/lcl/editbtn.pas +++ b/lcl/editbtn.pas @@ -1523,6 +1523,7 @@ begin Parent := Self; end; AutoSize := True; + Color := {$ifdef UseCLDefault}clDefault{$else}clWindow{$endif}; end; destructor TCustomEditButton.Destroy;