IDE About form: use Canvas.Draw instead of Canvas.CopyRect

git-svn-id: trunk@12569 -
This commit is contained in:
tombo 2007-10-23 15:55:06 +00:00
parent 7ac17a32e0
commit 1d7db6a607

View File

@ -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