mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 14:00:18 +02:00
LCL: improved debugging
git-svn-id: trunk@24069 -
This commit is contained in:
parent
bf4387a62b
commit
0f10f9bfc1
@ -30,7 +30,7 @@
|
||||
{off $DEFINE VerboseCanAutoSize}
|
||||
|
||||
{off $DEFINE VerboseSizeMsg}
|
||||
{$DEFINE CHECK_POSITION}
|
||||
{off $DEFINE CHECK_POSITION}
|
||||
{$IFDEF CHECK_POSITION}
|
||||
const CheckPostionClassName = 'xxTPage';
|
||||
const CheckPostionName = 'IDEOptionsDialog';
|
||||
@ -2289,8 +2289,8 @@ begin
|
||||
//if Result then debugln('TWinControl.AutoSizeDelayed A ',DbgSName(Self),' wcfCreatingChildHandles=',dbgs(wcfCreatingChildHandles in FWinControlFlags),' csLoading=',dbgs(csLoading in ComponentState));
|
||||
{$IFDEF VerboseCanAutoSize}
|
||||
if Result {and AutoSize} then begin
|
||||
DbgOut('TWinControl.AutoSizeDelayed Self='+DbgSName(Self)+' ');
|
||||
if not HandleAllocated then debugln('not HandleAllocated');
|
||||
if not HandleAllocated then
|
||||
debugln('TWinControl.AutoSizeDelayed Self='+DbgSName(Self)+' not HandleAllocated');
|
||||
end;
|
||||
{$ENDIF}
|
||||
end;
|
||||
@ -7388,6 +7388,7 @@ var
|
||||
begin
|
||||
if HandleAllocated then
|
||||
begin
|
||||
//DebugLn(['TWinControl.DestroyWnd ',DbgSName(Self)]);
|
||||
{$IFNDEF OldAutoSize}
|
||||
DisableAutoSizing;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user