IDE: fixed freeing TSizeComponentsDialog

git-svn-id: trunk@48221 -
This commit is contained in:
mattias 2015-03-10 15:00:35 +00:00
parent 7e3829dd80
commit 8f4d84fdbd
2 changed files with 5 additions and 4 deletions

View File

@ -38,7 +38,7 @@ interface
uses
// FCL + LCL
Types, Classes, Math, SysUtils, contnrs, variants, TypInfo,
Types, Classes, Math, SysUtils, variants, TypInfo,
LCLProc, LCLType, LResources, LCLIntf, LMessages, InterfaceBase,
Forms, Controls, GraphType, Graphics, Dialogs, ExtCtrls, Menus,
ClipBrd,

View File

@ -53,7 +53,7 @@ type
constructor Create(AOwner: TComponent); override;
end;
function ShowSizeComponentsDialog(var HorizSizingID, FixedWidth,
function ShowSizeComponentsDialog(out HorizSizingID, FixedWidth,
VertSizingID, FixedHeight: integer): TModalResult;
implementation
@ -63,8 +63,8 @@ implementation
uses
LazarusIDEStrConsts;
function ShowSizeComponentsDialog(var HorizSizingID, FixedWidth,
VertSizingID, FixedHeight: integer): TModalResult;
function ShowSizeComponentsDialog(out HorizSizingID, FixedWidth, VertSizingID,
FixedHeight: integer): TModalResult;
var
SizeComponentsDialog: TSizeComponentsDialog;
begin
@ -76,6 +76,7 @@ begin
FixedWidth := StrToIntDef(WidthEdit.Text,0);
VertSizingID := HeightRadioGroup.ItemIndex;
FixedHeight := StrToIntDef(HeightEdit.Text,0);
Free;
end;
end;