mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 12:22:51 +02:00
IDE About form: use Canvas.Draw instead of Canvas.CopyRect
git-svn-id: trunk@12569 -
This commit is contained in:
parent
7ac17a32e0
commit
1d7db6a607
@ -178,10 +178,9 @@ end;
|
||||
procedure TAboutForm.Paint;
|
||||
begin
|
||||
inherited Paint;
|
||||
if FPixmap <>nil
|
||||
then Canvas.Copyrect(
|
||||
Bounds(12, PlatformLabel.Top+PlatformLabel.Height+6, Width, Height)
|
||||
,FPixmap.Canvas, Rect(0,0, Width, Height));
|
||||
if FPixmap <> nil then
|
||||
Canvas.Draw(12, PlatformLabel.Top + PlatformLabel.Height + 6,
|
||||
FPixmap);
|
||||
end;
|
||||
|
||||
initialization
|
||||
|
Loading…
Reference in New Issue
Block a user