diff --git a/lcl/buttonpanel.pas b/lcl/buttonpanel.pas index 4cab71c05d..f28d505b7d 100644 --- a/lcl/buttonpanel.pas +++ b/lcl/buttonpanel.pas @@ -19,7 +19,7 @@ unit ButtonPanel; interface uses - Types, SysUtils, Classes, Controls, ExtCtrls, Buttons, Forms, GraphType, + Types, SysUtils, Classes, Controls, ExtCtrls, StdCtrls, Buttons, Forms, GraphType, Graphics, LMessages, LCLStrConsts, Themes; type diff --git a/lcl/buttons.pp b/lcl/buttons.pp index 4df7ecaaed..33c8395d22 100644 --- a/lcl/buttons.pp +++ b/lcl/buttons.pp @@ -67,11 +67,6 @@ type } TNumGlyphs = 1..5; - {Some type aliases, because TButton is now in StdCtrls, - but was in this unit in Lazarus 0.9.22 and earlier} - TCustomButton = StdCtrls.TCustomButton; - TButton = StdCtrls.TButton; - { TButtonGlyph } TGlyphTransparencyMode = ( gtmGlyph, // transparency is defined by the glyph itself (bitbtn)