Change to nsIFrame API

This commit is contained in:
troy
1998-05-12 04:17:56 +00:00
parent e7921b5065
commit a4f9d76cd7
81 changed files with 937 additions and 891 deletions
+4 -4
View File
@@ -213,7 +213,7 @@ nsInputFrame::ResizeReflow(nsIPresContext* aPresContext,
nsReflowMetrics& aDesiredSize,
const nsSize& aMaxSize,
nsSize* aMaxElementSize,
ReflowStatus& aStatus)
nsReflowStatus& aStatus)
{
nsIView* view = nsnull;
GetView(view);
@@ -230,7 +230,7 @@ nsInputFrame::ResizeReflow(nsIPresContext* aPresContext,
(void **)&view);
if (NS_OK != result) {
NS_ASSERTION(0, "Could not create view for button");
aStatus = frNotComplete;
aStatus = NS_FRAME_NOT_COMPLETE;
return result;
}
nsIPresShell *presShell = aPresContext->GetShell(); // need to release
@@ -258,7 +258,7 @@ nsInputFrame::ResizeReflow(nsIPresContext* aPresContext,
}
if (NS_OK != result) {
NS_ASSERTION(0, "widget initialization failed");
aStatus = frNotComplete;
aStatus = NS_FRAME_NOT_COMPLETE;
return NS_OK;
}
@@ -300,7 +300,7 @@ nsInputFrame::ResizeReflow(nsIPresContext* aPresContext,
aMaxElementSize->height = aDesiredSize.height;
}
aStatus = frComplete;
aStatus = NS_FRAME_COMPLETE;
return NS_OK;
}