mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 18:20:42 +02:00
IDE: Fixed compiling for -dDebugDisableAutoSizing.
git-svn-id: trunk@58301 -
This commit is contained in:
parent
b525daf3e8
commit
33d16133fc
@ -819,7 +819,7 @@ begin
|
||||
and (not (AForm is TNonControlProxyDesignerForm)) and (not (AForm is TFrameProxyDesignerForm)) then
|
||||
begin
|
||||
FAutoSizeFormList.Delete(AIndex);
|
||||
AForm.EnableAutoSizing;
|
||||
AForm.EnableAutoSizing{$IFDEF DebugDisableAutoSizing}('TAnchorDockMaster Delayed'){$ENDIF};
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -933,7 +933,7 @@ var
|
||||
si: TShadowItemBase;
|
||||
begin
|
||||
sb:=GetParentBoxForMenuItem(aMI);
|
||||
sb.DisableAutoSizing;
|
||||
sb.DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TShadowMenu.DeleteBox'){$ENDIF};
|
||||
for i:=aMI.Count-1 downto 0 do
|
||||
DeleteBox(aMI.Items[i]);
|
||||
Assert(sb<>nil,'TShadowMenu.DeleteBox: internal error');
|
||||
|
@ -417,7 +417,7 @@ begin
|
||||
|
||||
//DebugLn(['TMainIDEBar.DoSetMainIDEHeight: IDEStarted=', LazarusIDE.IDEStarted]);
|
||||
|
||||
DisableAutoSizing;
|
||||
DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TMainIDEBar.DoSetMainIDEHeight'){$ENDIF};
|
||||
try
|
||||
if Assigned(IDEDockMaster) then
|
||||
begin
|
||||
@ -451,7 +451,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
finally
|
||||
EnableAutoSizing;
|
||||
EnableAutoSizing{$IFDEF DebugDisableAutoSizing}('TMainIDEBar.DoSetMainIDEHeight'){$ENDIF};
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user