diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:23:21 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2012-07-17 17:23:21 +0100 |
commit | 49c88c1cb18ebc8fd8d89d505eea8796f52d0670 (patch) | |
tree | 76975f6dbe221bd5dde97cfb4ebf5107f2442f3f | |
parent | dae265d4b311f55e77fdde2d5fa29f6e239bbfc1 (diff) | |
download | fpGUI-49c88c1cb18ebc8fd8d89d505eea8796f52d0670.tar.xz |
Extra debug output added to TfpgWidget.HandleAlignments
-rw-r--r-- | src/corelib/fpg_widget.pas | 5 |
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])); |