Fix bug 48716 -- make nsFileControlFrame's draw with a blue box when selected in composer. r=rods, sr=kin

This commit is contained in:
sfraser@netscape.com
2001-04-13 00:30:37 +00:00
parent 005cd21083
commit bfd15b37fb
2 changed files with 8 additions and 2 deletions

View File

@@ -678,7 +678,10 @@ nsFileControlFrame::Paint(nsIPresContext* aPresContext,
if (NS_SUCCEEDED(IsVisibleForPainting(aPresContext, aRenderingContext, PR_TRUE, &isVisible)) && !isVisible) {
return NS_OK;
}
return nsAreaFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
nsresult rv = nsAreaFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
if (NS_FAILED(rv)) return rv;
return nsFrame::Paint(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
}
//----------------------------------------------------------------------