fixed some image bugs

This commit is contained in:
dcone%netscape.com 1998-09-16 16:28:33 +00:00
parent 3b6d9904a7
commit 9761f1f6d2

View File

@ -1024,6 +1024,8 @@ nsRect tr;
if (aImage != nsnull)
{
::SetPort(mRenderingSurface);
::SetClip(mMainRegion);
((nsImageMac*)aImage)->Draw(*this,mRenderingSurface,tr.x,tr.y,tr.width,tr.height);
}
else