Added macro to help in figuring Nav Quirks default size for all

controls ifdef for just me r=kmcclusk
This commit is contained in:
rods@netscape.com
1999-10-07 21:07:38 +00:00
parent ddf6c35d3d
commit 7447bcc4ac
10 changed files with 100 additions and 14 deletions

View File

@@ -174,7 +174,6 @@ nsGfxCheckboxControlFrame :: GetCheckboxState ( )
return mChecked;
}
void
nsGfxCheckboxControlFrame :: SetCheckboxState ( nsCheckboxControlFrame::CheckState aValue )
{
@@ -182,3 +181,16 @@ nsGfxCheckboxControlFrame :: SetCheckboxState ( nsCheckboxControlFrame::CheckSta
nsFormControlHelper::ForceDrawFrame(this);
}
#ifdef DEBUG_rods
NS_IMETHODIMP
nsGfxCheckboxControlFrame::Reflow(nsIPresContext& aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus)
{
nsresult rv = nsNativeFormControlFrame::Reflow(aPresContext, aDesiredSize, aReflowState, aStatus);
COMPARE_QUIRK_SIZE("nsGfxCheckboxControlFrame", 13, 13)
return rv;
}
#endif