round active tab corners a bit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-11-07 13:32:05 +00:00
parent cf143a431c
commit 3904a28098

View File

@@ -386,7 +386,7 @@ void wxAuiDefaultTabArt::DrawTab(wxDC& dc,
// draw gradient background
if (active)
{
{
wxColour c = m_bkbrush.GetColour();
dc.SetPen(wxPen(c));
@@ -415,7 +415,7 @@ void wxAuiDefaultTabArt::DrawTab(wxDC& dc,
{
wxColour c = m_bkbrush.GetColour();
dc.SetPen(wxPen(c));
dc.DrawLine(points[0].x+1, points[0].y, points[5].x, points[5].y);
dc.DrawLine(points[0].x, points[0].y, points[5].x+1, points[5].y);
}
int text_offset;