idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.

r=kmcclusk a=jar b=28593
This commit is contained in:
rods@netscape.com
2000-03-03 00:58:00 +00:00
parent bb1957eb95
commit 729a4e53a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
//aDesiredSize.width += aReflowState.mComputedBorderPadding.left + aReflowState.mComputedBorderPadding.right;
//aDesiredSize.height += aReflowState.mComputedBorderPadding.top + aReflowState.mComputedBorderPadding.bottom;
#if 1
#if 0
//adjust our max element size, if necessary
if (aDesiredSize.maxElementSize) {
aDesiredSize.AddBorderPaddingToMaxElementSize(aReflowState.mComputedBorderPadding);