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

git-svn-id: svn://10.0.0.236/trunk@51745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kmcclusk%netscape.com
1999-10-25 22:06:41 +00:00
parent 58f8c6d8d9
commit cee3171b28
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,