Use new flag defines

git-svn-id: svn://10.0.0.236/trunk@17586 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-01-12 16:42:03 +00:00
parent 4bf9a053b1
commit c5c21eff17
18 changed files with 108 additions and 90 deletions

View File

@@ -506,7 +506,7 @@ nsHTMLButtonControlFrame::SetInitialChildList(nsIPresContext& aPresContext,
GetStyleData(eStyleStruct_Display, (const nsStyleStruct*&) styleDisplay);
mInline = (NS_STYLE_DISPLAY_BLOCK != styleDisplay->mDisplay);
PRUint8 flags = (mInline) ? NS_BODY_SHRINK_WRAP : 0;
PRUint8 flags = (mInline) ? NS_BLOCK_SHRINK_WRAP : 0;
NS_NewAreaFrame(mFirstChild, flags);
// Resolve style and initialize the frame