merge r51050: ideintf, ide: change result type of TMainIDEBase.GetMainBar from TComponent to TForm. (needed for r51051 and r51055 #c91d201731)

git-svn-id: branches/fixes_1_6@51057 -
This commit is contained in:
ondrej 2015-12-27 20:34:22 +00:00
parent 5334de92de
commit 6f2a1d05b7
2 changed files with 3 additions and 3 deletions

View File

@ -297,7 +297,7 @@ type
property ToolStatus: TLazToolStatus read FToolStatus write SetToolStatus;
// the main window with the IDE menu
function GetMainBar: TComponent; virtual; abstract;
function GetMainBar: TForm; virtual; abstract;
property MainBarSubTitle: string read FMainBarSubTitle write SetMainBarSubTitle;
// find file

View File

@ -137,7 +137,7 @@ type
procedure StartIDE; virtual; abstract;
destructor Destroy; override;
procedure CreateOftenUsedForms; virtual; abstract;
function GetMainBar: TComponent; override;
function GetMainBar: TForm; override;
procedure SetRecentProjectFilesMenu;
procedure SetRecentFilesMenu;
function BeginCodeTool(var ActiveSrcEdit: TSourceEditor;
@ -705,7 +705,7 @@ begin
ActiveUnitInfo:=AnUnitInfo;
end;
function TMainIDEBase.GetMainBar: TComponent;
function TMainIDEBase.GetMainBar: TForm;
begin
Result:=MainIDEBar;
end;