Kaydet (Commit) 01a93d34 authored tarafından Eike Rathke's avatar Eike Rathke

do not use white text on white background in control

... setting a control's background color has no effect (until input
field text is changed?)

Could be observed in the pivot table dialog's source range edit when an
invalid range was entered.

Change-Id: Iafb2a9016ac6bd4c020273911d62dd7423ee0458
üst b7a5dcdb
......@@ -484,8 +484,14 @@ void RefEdit::SetRefValid(bool bValid)
}
else
{
#if 0
// Setting background color has no effect here so we'd end up with
// white on white!
SetControlForeground(COL_WHITE);
SetControlBackground(0xff6563);
#else
SetControlForeground( ::Color( RGB_COLORDATA( 0xf0, 0, 0)));
#endif
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment