mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
lcl: restore public TToolButton.Click method
git-svn-id: trunk@35202 -
This commit is contained in:
parent
b34b546678
commit
7111abfa8d
@ -1854,6 +1854,7 @@ type
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
function CheckMenuDropdown: Boolean; virtual;
|
||||
procedure Click; override;
|
||||
procedure GetCurrentIcon(var ImageList: TCustomImageList;
|
||||
var TheIndex: integer); virtual;
|
||||
procedure GetPreferredSize(var PreferredWidth, PreferredHeight: integer;
|
||||
|
@ -758,6 +758,11 @@ begin
|
||||
Result := FToolBar.CheckMenuDropdown(Self);
|
||||
end;
|
||||
|
||||
procedure TToolButton.Click;
|
||||
begin
|
||||
inherited Click;
|
||||
end;
|
||||
|
||||
procedure TToolButton.GetCurrentIcon(var ImageList: TCustomImageList;
|
||||
var TheIndex: integer);
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user