RxToolPanel - fix owner for TToolbarItems
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2741 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
4512219d6f
commit
07d8c3bf79
@ -167,7 +167,7 @@ type
|
||||
|
||||
{ TToolbarItems }
|
||||
|
||||
TToolbarItems = class(TCollection)
|
||||
TToolbarItems = class(TOwnedCollection)
|
||||
private
|
||||
FToolPanel:TToolPanel;
|
||||
function GetByActionName(ActionName: string): TToolbarItem;
|
||||
@ -839,7 +839,7 @@ end;
|
||||
|
||||
constructor TToolbarItems.Create(ToolPanel: TToolPanel);
|
||||
begin
|
||||
inherited Create(TToolbarItem);
|
||||
inherited Create(ToolPanel, TToolbarItem);
|
||||
FToolPanel:=ToolPanel;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user