Update text and background brush properly. Fixes wrong colors in radio buttons in Firefox. Fix by Jerome Gardou.
See issue #5311 for more details.
svn path=/trunk/; revision=46980
{
PDC_ATTR pdcattr = pdc->pdcattr;
{
PDC_ATTR pdcattr = pdc->pdcattr;
+ if(pdcattr->ulDirty_ & DIRTY_TEXT)
+ EBRUSHOBJ_vUpdate(&pdc->eboText, pdc->eboText.pbrush, pdc);
+
/* Update the eboText's solid color */
EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboText, pdcattr->crForegroundClr);
/* Update the eboText's solid color */
EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboText, pdcattr->crForegroundClr);
{
PDC_ATTR pdcattr = pdc->pdcattr;
{
PDC_ATTR pdcattr = pdc->pdcattr;
+ if(pdcattr->ulDirty_ & DIRTY_BACKGROUND)
+ EBRUSHOBJ_vUpdate(&pdc->eboBackground, pdc->eboBackground.pbrush, pdc);
+
/* Update the eboBackground's solid color */
EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboBackground, pdcattr->crBackgroundClr);
/* Update the eboBackground's solid color */
EBRUSHOBJ_vSetSolidBrushColor(&pdc->eboBackground, pdcattr->crBackgroundClr);