From: Benjamin Williams Date: Tue, 7 Nov 2006 13:32:05 +0000 (+0000) Subject: round active tab corners a bit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3904a28098acdffa2d7c16e97eb45859073aec3f?ds=inline round active tab corners a bit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 709fe07722..b5b3a679a9 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -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;