From 4f1db4bdfd09307b39770f7a94080c553c129f99 Mon Sep 17 00:00:00 2001 From: "mozilla.mano@sent.com" Date: Tue, 22 May 2007 17:10:02 -0700 Subject: [PATCH] Bug 371426 - repaint xul buttons when the default attribute is changed. r=josh, sr=pink. --- widget/src/cocoa/nsNativeThemeCocoa.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/src/cocoa/nsNativeThemeCocoa.mm b/widget/src/cocoa/nsNativeThemeCocoa.mm index ea869e44e3b..f9cbc28a10a 100644 --- a/widget/src/cocoa/nsNativeThemeCocoa.mm +++ b/widget/src/cocoa/nsNativeThemeCocoa.mm @@ -1262,7 +1262,8 @@ nsNativeThemeCocoa::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType, aAttribute == nsWidgetAtoms::checked || aAttribute == nsWidgetAtoms::selected || aAttribute == nsWidgetAtoms::mozmenuactive || - aAttribute == nsWidgetAtoms::sortdirection) + aAttribute == nsWidgetAtoms::sortdirection || + aAttribute == nsWidgetAtoms::_default) *aShouldRepaint = PR_TRUE; }