mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 04:10:44 +02:00
Gtk2: better debug in Gtk2WSWinControl.AddControl()
git-svn-id: trunk@35318 -
This commit is contained in:
parent
acc755ecdd
commit
59a8bcd5e2
@ -444,7 +444,7 @@ begin
|
||||
{$ENDIF}
|
||||
|
||||
AParent := TWinControl(AControl).Parent;
|
||||
//debugln('LM_AddChild: ',TWinControl(Sender).Name,' ',dbgs(AParent<>nil));
|
||||
// DebugLn('LM_AddChild: ',dbgsName(AControl),' ',dbgs(AParent<>nil));
|
||||
if not Assigned(AParent) then
|
||||
Assert(true, Format('Trace: [TGtkWSWinControl.AddControl] %s --> Parent is not assigned', [AControl.ClassName]))
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user