summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2012-07-17 17:23:21 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2012-07-17 17:23:21 +0100
commit49c88c1cb18ebc8fd8d89d505eea8796f52d0670 (patch)
tree76975f6dbe221bd5dde97cfb4ebf5107f2442f3f
parentdae265d4b311f55e77fdde2d5fa29f6e239bbfc1 (diff)
downloadfpGUI-49c88c1cb18ebc8fd8d89d505eea8796f52d0670.tar.xz
Extra debug output added to TfpgWidget.HandleAlignments
-rw-r--r--src/corelib/fpg_widget.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas
index 3e4c5bc9..440645c4 100644
--- a/src/corelib/fpg_widget.pas
+++ b/src/corelib/fpg_widget.pas
@@ -1316,7 +1316,12 @@ begin
itf := DebugMethodEnter('TfpgWidget.HandleAlignments - ' + ClassName + ' ('+Name+')');
{$ENDIF}
if (csLoading in ComponentState) then
+ begin
+ {$IFDEF CStackDebug}
+ DebugLn('HandleAlignments ('+Name+'): csLoading detected, so we exit early');
+ {$ENDIF}
Exit; //==>
+ end;
{$IFDEF CStackDebug}
DebugLn(Format('dwidth=%d dheight=%d Classname=''%s''', [dwidth, dheight, ClassName]));