Bug 371426 - repaint xul buttons when the default attribute is changed. r=josh, sr=pink.

This commit is contained in:
mozilla.mano@sent.com 2007-05-22 17:10:02 -07:00
parent 4466f1279a
commit 4f1db4bdfd

View File

@ -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;
}