added back in the code that hook it up to the form for submission

r=kmcclusk bug 19546
This commit is contained in:
rods%netscape.com 1999-11-24 21:37:34 +00:00
Родитель 6044c6f90a
Коммит ca9ac3ad84
2 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -313,6 +313,9 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext,
{
// The mFormFrame is set in the initial reflow within nsHTMLButtonControlFrame
nsresult rv = NS_OK;
if (!mFormFrame && (eReflowReason_Initial == aReflowState.reason)) {
nsFormFrame::AddFormControlFrame(aPresContext, *NS_STATIC_CAST(nsIFrame*, this));
}
if ((kSuggestedNotSet != mSuggestedWidth) ||
(kSuggestedNotSet != mSuggestedHeight)) {

Просмотреть файл

@ -313,6 +313,9 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext,
{
// The mFormFrame is set in the initial reflow within nsHTMLButtonControlFrame
nsresult rv = NS_OK;
if (!mFormFrame && (eReflowReason_Initial == aReflowState.reason)) {
nsFormFrame::AddFormControlFrame(aPresContext, *NS_STATIC_CAST(nsIFrame*, this));
}
if ((kSuggestedNotSet != mSuggestedWidth) ||
(kSuggestedNotSet != mSuggestedHeight)) {