comment out the code that does its own painting. Just defer to the nsBlockFrame::Paint() for now, until we need to do some more at drag time.

This commit is contained in:
pinkerton%netscape.com 1999-03-22 19:21:19 +00:00
Родитель 24bb95293f
Коммит 1b4432bbfa
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -82,6 +82,7 @@ nsToolbarFrame :: Paint ( nsIPresContext& aPresContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer)
{
#if 0
if (eFramePaintLayer_Underlay == aWhichLayer) {
const nsStyleDisplay* disp = (const nsStyleDisplay*)
mStyleContext->GetStyleData(eStyleStruct_Display);
@ -108,7 +109,11 @@ nsToolbarFrame :: Paint ( nsIPresContext& aPresContext,
// hidden
PaintChildren(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
return NS_OK;
#endif
return nsBlockFrame::Paint ( aPresContext, aRenderingContext, aDirtyRect, aWhichLayer );
} // Paint