EditorToolbar: improved multi-window handling

git-svn-id: trunk@24199 -
This commit is contained in:
martin 2010-03-24 20:49:05 +00:00
parent db4381d4fc
commit f2a9f2c01f

View File

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