diff --git a/mozilla/widget/src/mac/nsMacControl.cpp b/mozilla/widget/src/mac/nsMacControl.cpp index 4527f21ca5c..c07939a37cc 100644 --- a/mozilla/widget/src/mac/nsMacControl.cpp +++ b/mozilla/widget/src/mac/nsMacControl.cpp @@ -257,8 +257,10 @@ void nsMacControl::ControlChanged(PRInt32 aNewValue) //------------------------------------------------------------------------- NS_IMETHODIMP nsMacControl::Enable(PRBool bState) { + PRBool priorState = mEnabled; Inherited::Enable(bState); - Invalidate(PR_FALSE); + if ( priorState != bState ) + Invalidate(PR_FALSE); return NS_OK; } //-------------------------------------------------------------------------