From 92e5a18aadba42eaf68d5bba7f688a16d394503c Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Wed, 5 Jan 2000 15:58:07 +0000 Subject: [PATCH] compile sunder windows and not Linux, wierd --- layout/forms/nsGfxButtonControlFrame.cpp | 5 +++++ layout/html/forms/src/nsGfxButtonControlFrame.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/layout/forms/nsGfxButtonControlFrame.cpp b/layout/forms/nsGfxButtonControlFrame.cpp index 685778e8941a..2dabeef64bbc 100644 --- a/layout/forms/nsGfxButtonControlFrame.cpp +++ b/layout/forms/nsGfxButtonControlFrame.cpp @@ -326,11 +326,14 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext, nsFormFrame::AddFormControlFrame(aPresContext, *NS_STATIC_CAST(nsIFrame*, this)); } +#if 0 nsresult skiprv = nsFormControlFrame::SkipResizeReflow(mCacheSize, mCachedMaxElementSize, aPresContext, aDesiredSize, aReflowState, aStatus); + if (NS_SUCCEEDED(skiprv)) { return skiprv; } +#endif if ((kSuggestedNotSet != mSuggestedWidth) || (kSuggestedNotSet != mSuggestedHeight)) { @@ -366,7 +369,9 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext, #endif aStatus = NS_FRAME_COMPLETE; +#if 0 nsFormControlFrame::SetupCachedSizes(mCacheSize, mCachedMaxElementSize, aDesiredSize); +#endif return rv; } diff --git a/layout/html/forms/src/nsGfxButtonControlFrame.cpp b/layout/html/forms/src/nsGfxButtonControlFrame.cpp index 685778e8941a..2dabeef64bbc 100644 --- a/layout/html/forms/src/nsGfxButtonControlFrame.cpp +++ b/layout/html/forms/src/nsGfxButtonControlFrame.cpp @@ -326,11 +326,14 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext, nsFormFrame::AddFormControlFrame(aPresContext, *NS_STATIC_CAST(nsIFrame*, this)); } +#if 0 nsresult skiprv = nsFormControlFrame::SkipResizeReflow(mCacheSize, mCachedMaxElementSize, aPresContext, aDesiredSize, aReflowState, aStatus); + if (NS_SUCCEEDED(skiprv)) { return skiprv; } +#endif if ((kSuggestedNotSet != mSuggestedWidth) || (kSuggestedNotSet != mSuggestedHeight)) { @@ -366,7 +369,9 @@ nsGfxButtonControlFrame::Reflow(nsIPresContext* aPresContext, #endif aStatus = NS_FRAME_COMPLETE; +#if 0 nsFormControlFrame::SetupCachedSizes(mCacheSize, mCachedMaxElementSize, aDesiredSize); +#endif return rv; }