mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
EditorToolbar: improved multi-window handling
git-svn-id: trunk@24199 -
This commit is contained in:
parent
db4381d4fc
commit
f2a9f2c01f
@ -59,7 +59,6 @@ type
|
||||
protected
|
||||
procedure AddButton(AMenuItem: TIDEMenuItem);
|
||||
procedure PositionAtEnd(AToolbar: TToolbar; AButton: TToolButton);
|
||||
procedure SourceWindowCreated(Sender: TObject);
|
||||
procedure Reload;
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
@ -242,18 +241,13 @@ begin
|
||||
AButton.Parent := AToolbar;
|
||||
end;
|
||||
|
||||
procedure TEditorToolbar.SourceWindowCreated(Sender: TObject);
|
||||
procedure TEditorToolbar.Reload;
|
||||
begin
|
||||
ClearToolbar;
|
||||
AddStaticItems;
|
||||
AddCustomItems;
|
||||
end;
|
||||
|
||||
procedure TEditorToolbar.Reload;
|
||||
begin
|
||||
|
||||
end;
|
||||
|
||||
procedure TEditorToolbar.AddCustomItems;
|
||||
var
|
||||
i: integer;
|
||||
|
Loading…
Reference in New Issue
Block a user