mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 12:59:12 +02:00
parent
7b1b83e91a
commit
2d1eaa0ddf
@ -6668,6 +6668,13 @@ begin
|
||||
',',FBoundsRealized.Right-FBoundsRealized.Left,
|
||||
'x',FBoundsRealized.Bottom-FBoundsRealized.Top]);
|
||||
{$ENDIF}
|
||||
{$IFDEF VerboseBug16184}
|
||||
DebugLn(['TWinControl.WMMove A ',DbgSName(Self),' Message=',Message.XPos,',',Message.YPos,
|
||||
' BoundsRealized=',FBoundsRealized.Left,',',FBoundsRealized.Top,
|
||||
' FromIntf=',Message.MoveType=Move_SourceIsInterface,
|
||||
',',FBoundsRealized.Right-FBoundsRealized.Left,
|
||||
'x',FBoundsRealized.Bottom-FBoundsRealized.Top]);
|
||||
{$ENDIF}
|
||||
NewWidth := Width;
|
||||
NewHeight := Height;
|
||||
if Message.MoveType = Move_SourceIsInterface then
|
||||
@ -6726,6 +6733,10 @@ begin
|
||||
DebugLn(['TWinControl.WMSize A ',Name,':',ClassName,' Message=',Message.Width,',',Message.Height,
|
||||
' BoundsRealized=',dbgs(FBoundsRealized),' FromIntf=',(Message.SizeType and Size_SourceIsInterface)>0]);
|
||||
{$ENDIF}
|
||||
{$IFDEF VerboseBug16184}
|
||||
DebugLn(['TWinControl.WMSize A ',Name,':',ClassName,' Message=',Message.Width,',',Message.Height,
|
||||
' BoundsRealized=',dbgs(FBoundsRealized),' FromIntf=',(Message.SizeType and Size_SourceIsInterface)>0]);
|
||||
{$ENDIF}
|
||||
|
||||
NewLeft:=Left;
|
||||
NewTop:=Top;
|
||||
@ -7990,6 +8001,9 @@ begin
|
||||
{$IFDEF VerboseNewAutoSize}
|
||||
DebugLn(['TWinControl.DoSendShowHideToInterface ',DbgSName(Self),' FBoundsRealized=',dbgs(FBoundsRealized),' New=',HandleObjectShouldBeVisible]);
|
||||
{$ENDIF}
|
||||
{$IFDEF VerboseBug16184}
|
||||
DebugLn(['TWinControl.DoSendShowHideToInterface ',DbgSName(Self),' FBoundsRealized=',dbgs(FBoundsRealized),' New=',HandleObjectShouldBeVisible]);
|
||||
{$ENDIF}
|
||||
TWSWinControlClass(WidgetSetClass).ShowHide(Self);
|
||||
end;
|
||||
end;
|
||||
@ -8030,6 +8044,11 @@ begin
|
||||
' OldRelBounds=',dbgs(FBoundsRealized),
|
||||
' -> NewBounds=',dbgs(NewBounds));
|
||||
{$ENDIF}
|
||||
{$IFDEF VerboseBug16184}
|
||||
DebugLn('[TWinControl.DoSendBoundsToInterface] A ',DbgSName(Self),
|
||||
' OldRelBounds=',dbgs(FBoundsRealized),
|
||||
' -> NewBounds=',dbgs(NewBounds));
|
||||
{$ENDIF}
|
||||
FBoundsRealized:=NewBounds;
|
||||
Include(FWinControlFlags,wcfBoundsRealized); // Note: set before calling widgetset, because used in WMSize
|
||||
//if Parent=nil then DebugLn(['TWinControl.DoSendBoundsToInterface ',DbgSName(Self),' ',dbgs(BoundsRect)]);
|
||||
|
Loading…
Reference in New Issue
Block a user