From 6d40b7fce782b37d2d1b21489c7eb12123f00ae4 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 21 Jun 2018 21:28:34 -0700 Subject: [PATCH] Remove garbage characters and trailing whitespace --- src/aui/tabart.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/aui/tabart.cpp b/src/aui/tabart.cpp index 9ced916ff6..dbf05ea9e3 100644 --- a/src/aui/tabart.cpp +++ b/src/aui/tabart.cpp @@ -272,8 +272,7 @@ void wxAuiGenericTabArt::DrawBackground(wxDC& dc, topLightness = 90; bottomLightness = 110; } - - + wxColor top_color = m_baseColour.ChangeLightness(topLightness); wxColor bottom_color = m_baseColour.ChangeLightness(bottomLightness); wxRect r; @@ -446,7 +445,7 @@ void wxAuiGenericTabArt::DrawTab(wxDC& dc, //dark mode, we go darker gradient = m_activeColour.ChangeLightness(70); } - + dc.SetPen(wxPen(gradient)); dc.SetBrush(wxBrush(gradient)); dc.DrawRectangle(r.x+2, r.y+1, r.width-3, r.height-4); @@ -494,7 +493,7 @@ void wxAuiGenericTabArt::DrawTab(wxDC& dc, top_color = m_activeColour.ChangeLightness(70); bottom_color = m_baseColour; } - + dc.GradientFillLinear(r, bottom_color, top_color, wxNORTH); r.y += r.height; @@ -1356,4 +1355,3 @@ void wxAuiSimpleTabArt::SetMeasuringFont(const wxFont& font) } #endif // wxUSE_AUI - \ No newline at end of file