Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com

This commit is contained in:
kmcclusk%netscape.com 1999-10-25 22:06:41 +00:00
parent f03a4277ab
commit 3ed49e6d43
2 changed files with 15 additions and 0 deletions

View File

@ -214,6 +214,17 @@ nsButtonControlFrame::MouseClicked(nsIPresContext* aPresContext)
}
}
void
nsButtonControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,
nsHTMLReflowMetrics& aDesiredSize)
{
// This "do-nothing" implementation exists to remove compiler warnings caused
// by the fact that GetDesiredSize is both overloaded and overridden.
Inherited::GetDesiredSize(aPresContext, aReflowState, aDesiredSize);
}
void
nsButtonControlFrame::GetDesiredSize(nsIPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,

View File

@ -70,6 +70,10 @@ protected:
nsHTMLReflowMetrics& aDesiredLayoutSize,
nsSize& aDesiredWidgetSize);
virtual void GetDesiredSize(nsIPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,
nsHTMLReflowMetrics& aDesiredSize);
virtual void Redraw();