Kaydet (Commit) 69e9c082 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

rendercontext: Fix painting of double-buffered listbox.

Everything after the selected entry was invisible ;-)

Change-Id: I06ee1ac424293e71eaa0654b38a5e74e4462d185
üst 1cc39606
...@@ -1714,7 +1714,7 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32 ...@@ -1714,7 +1714,7 @@ void ImplListBoxWindow::ImplPaint(vcl::RenderContext& rRenderContext, sal_Int32
} }
else else
{ {
ApplySettings(*this); ApplySettings(rRenderContext);
if (!IsEnabled()) if (!IsEnabled())
rRenderContext.SetTextColor(rStyleSettings.GetDisableColor()); rRenderContext.SetTextColor(rStyleSettings.GetDisableColor());
rRenderContext.SetTextFillColor(); rRenderContext.SetTextFillColor();
......
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