lcl: restore public TToolButton.Click method

git-svn-id: trunk@35202 -
This commit is contained in:
paul 2012-02-07 07:35:50 +00:00
parent b34b546678
commit 7111abfa8d
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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