turned off some rods debug output and fixed visibility check error

r=kmcclusk bug=21701


git-svn-id: svn://10.0.0.236/trunk@56399 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-12-22 19:52:56 +00:00
parent 38d2c001fb
commit b475188196
4 changed files with 6 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ nsGfxRadioControlFrame::Paint(nsIPresContext* aPresContext,
{
const nsStyleDisplay* disp = (const nsStyleDisplay*)
mStyleContext->GetStyleData(eStyleStruct_Display);
if (!disp->mVisible)
if (disp->mVisible != NS_STYLE_VISIBILITY_VISIBLE)
return NS_OK;
// Paint the background
@@ -173,7 +173,7 @@ void nsGfxRadioControlFrame::SetRadioState(nsIPresContext* aPresContext, PRBool
nsFormControlHelper::ForceDrawFrame(aPresContext, this);
}
#ifdef DEBUG_rods
#ifdef DEBUG_rodsXXX
NS_IMETHODIMP
nsGfxRadioControlFrame::Reflow(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,