mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:36:09 +02:00
IDE: Fix compilation with defines IDE_MEM_CHECK and DebugDisableAutoSizing.
git-svn-id: trunk@62257 -
This commit is contained in:
parent
4e9cd68c9f
commit
37a763ee4f
@ -556,13 +556,13 @@ begin
|
|||||||
OldPageIndex:=PageControl1.PageIndex;
|
OldPageIndex:=PageControl1.PageIndex;
|
||||||
PgIndex:=2;
|
PgIndex:=2;
|
||||||
ToolIndex:=0;
|
ToolIndex:=0;
|
||||||
DisableAutoSizing;
|
DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TShowCompilerOptionsDlg.UpdateExecuteBeforeAfter'){$ENDIF};
|
||||||
try
|
try
|
||||||
AddTool(CompilerOpts.ExecuteBefore,'Execute Before');
|
AddTool(CompilerOpts.ExecuteBefore,'Execute Before');
|
||||||
AddTool(CompilerOpts.ExecuteAfter,'Execute After');
|
AddTool(CompilerOpts.ExecuteAfter,'Execute After');
|
||||||
PageControl1.PageIndex:=OldPageIndex;
|
PageControl1.PageIndex:=OldPageIndex;
|
||||||
finally
|
finally
|
||||||
EnableAutoSizing;
|
EnableAutoSizing{$IFDEF DebugDisableAutoSizing}('TShowCompilerOptionsDlg.UpdateExecuteBeforeAfter'){$ENDIF};
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@ uses
|
|||||||
LConvEncoding, LazFileCache, FileUtil, LazFileUtils, LazLoggerBase, LazUtilities,
|
LConvEncoding, LazFileCache, FileUtil, LazFileUtils, LazLoggerBase, LazUtilities,
|
||||||
LazUTF8, LazTracer, AvgLvlTree,
|
LazUTF8, LazTracer, AvgLvlTree,
|
||||||
// Codetools
|
// Codetools
|
||||||
|
{$IFDEF IDE_MEM_CHECK}
|
||||||
|
MemCheck,
|
||||||
|
{$ENDIF}
|
||||||
BasicCodeTools, CodeToolsStructs, CodeToolManager, FileProcs, DefineTemplates,
|
BasicCodeTools, CodeToolsStructs, CodeToolManager, FileProcs, DefineTemplates,
|
||||||
CodeCache, CodeTree, FindDeclarationTool, KeywordFuncLists,
|
CodeCache, CodeTree, FindDeclarationTool, KeywordFuncLists,
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
|
Loading…
Reference in New Issue
Block a user