Kaydet (Commit) ca951608 authored tarafından Caolán McNamara's avatar Caolán McNamara

Push without Pop

regression from

commit fb8f83c1
Date:   Mon May 11 14:33:01 2015 +0900

    refactor TabBar to use RenderContext

Change-Id: Ie77d23e164a880cec6ba5f5387070da1ada30760
üst 96041179
......@@ -1285,7 +1285,7 @@ void TabBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rect)
rRenderContext.SetLineColor();
rRenderContext.SetFillColor(aSelectColor);
aDrawer.drawOverTopBorder();
return;
break;
}
pItem = prev();
......@@ -1293,7 +1293,7 @@ void TabBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rect)
else
{
if (bCurrent)
return;
break;
pItem = NULL;
}
......@@ -1301,6 +1301,7 @@ void TabBar::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rect)
if (!pItem)
pItem = pCurItem;
}
rRenderContext.Pop();
}
void TabBar::Resize()
......
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