mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 14:29:07 +02:00
IDE: fixed freeing TSizeComponentsDialog
git-svn-id: trunk@48221 -
This commit is contained in:
parent
7e3829dd80
commit
8f4d84fdbd
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user