mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 19:38:16 +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;
|
procedure TAboutForm.Paint;
|
||||||
begin
|
begin
|
||||||
inherited Paint;
|
inherited Paint;
|
||||||
if FPixmap <>nil
|
if FPixmap <> nil then
|
||||||
then Canvas.Copyrect(
|
Canvas.Draw(12, PlatformLabel.Top + PlatformLabel.Height + 6,
|
||||||
Bounds(12, PlatformLabel.Top+PlatformLabel.Height+6, Width, Height)
|
FPixmap);
|
||||||
,FPixmap.Canvas, Rect(0,0, Width, Height));
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
|
Loading…
Reference in New Issue
Block a user