mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
LCL: Start replacing TEditButton with TButtonEdit component.
The old TEditButton implementation is (for the time being) compilable with -dUSEOLDEDITBUTTON git-svn-id: trunk@44623 -
This commit is contained in:
parent
1c21a9a593
commit
bee933f2ab
@ -763,7 +763,7 @@ procedure Register;
|
||||
|
||||
implementation
|
||||
|
||||
{$IFDEF USEBUTTONEDIT}
|
||||
{$IFnDEF USEOLDEDITBUTTON}
|
||||
{$R lcl_edbtnimg.res}
|
||||
{$ENDIF}
|
||||
|
||||
@ -1999,7 +1999,7 @@ end;
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
{$IFDEF USEBUTTONEDIT}
|
||||
{$IFnDEF USEOLDEDITBUTTON}
|
||||
RegisterComponents('Misc', [TButtonEdit,TFileNameEdit,TDirectoryEdit,
|
||||
TDateEdit,TCalcEdit]);
|
||||
{$ENDIF}
|
||||
|
@ -22,7 +22,7 @@ unit EditBtn;
|
||||
|
||||
interface
|
||||
|
||||
{$IFDEF USEBUTTONEDIT}
|
||||
{$IFnDEF USEOLDEDITBUTTON}
|
||||
uses
|
||||
Classes, ButtonEdit;
|
||||
|
||||
@ -660,7 +660,7 @@ procedure Register;
|
||||
|
||||
implementation
|
||||
|
||||
{$IFDEF USEBUTTONEDIT}
|
||||
{$IFnDEF USEOLDEDITBUTTON}
|
||||
|
||||
{$ELSE}
|
||||
|
||||
@ -1638,7 +1638,7 @@ end;
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
{$IFnDEF USEBUTTONEDIT}
|
||||
{$IFDEF USEOLDEDITBUTTON}
|
||||
RegisterComponents('Misc', [TEditButton,TFileNameEdit,TDirectoryEdit,
|
||||
TDateEdit,TCalcEdit]);
|
||||
{$ELSE}
|
||||
|
Loading…
Reference in New Issue
Block a user