mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:39:29 +02:00
finished implementation of TWinControl.Repaint (fixes issue #1890)
git-svn-id: trunk@8968 -
This commit is contained in:
parent
2826cea395
commit
380fa81917
@ -3981,11 +3981,8 @@ Begin
|
||||
if csDesigning in ComponentState then
|
||||
DebugLn('TWinControl.Repaint A ',Name,':',ClassName);
|
||||
{$ENDIF}
|
||||
{ TODO: check what to do with LM_PAINT message, neither gtk nor win32
|
||||
interface responded to it }
|
||||
//CNSendMessage(LM_PAINT, Self, nil);
|
||||
// Invalidate;
|
||||
// Update;
|
||||
Invalidate;
|
||||
Update;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
@ -5629,7 +5626,7 @@ begin
|
||||
' Cur='+dbgs(Width)+'x'+dbgs(Height)+
|
||||
' Client='+dbgs(OldClientRect.Right)+'x'+dbgs(OldClientRect.Bottom),
|
||||
' Adjusted='+dbgs(OldAdjustedClientRect),
|
||||
' NewWidth='+dbgs(NewWidth)+' NewHeight=',+dbgs(NewHeight));
|
||||
' NewWidth='+dbgs(NewWidth)+' NewHeight=',dbgs(NewHeight));
|
||||
{$ENDIF}
|
||||
PreferredWidth:=Max(PreferredWidth,NewWidth);
|
||||
PreferredHeight:=Max(PreferredHeight,NewHeight);
|
||||
|
Loading…
Reference in New Issue
Block a user