From 55f5ef835906abb57e03ad2d3d4d70a149c539a8 Mon Sep 17 00:00:00 2001 From: akleja Date: Mon, 9 Aug 2021 03:01:31 +0200 Subject: [PATCH] Remove lines from tooldocks Removes horizontal lines from tooldocks Signed-off-by: akleja --- src/toolbars/ToolDock.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/toolbars/ToolDock.cpp b/src/toolbars/ToolDock.cpp index 705bf874d..8ae32041c 100644 --- a/src/toolbars/ToolDock.cpp +++ b/src/toolbars/ToolDock.cpp @@ -918,26 +918,6 @@ void ToolDock::OnPaint( wxPaintEvent & WXUNUSED(event) ) if (!toolbar) continue; - wxRect r = toolbar->GetRect(); - - // Draw a horizontal line under the bar extending to the right edge of - // the dock - AColor::Line( dc, - r.GetLeft(), - r.GetBottom() + 1, - sz.GetWidth(), - r.GetBottom() + 1 ); - - // For all bars but the last... - // ...and for bars that aren't the last in a row, draw a - // vertical gap line - if (!mConfiguration.IsRightmost(toolbar)) { - AColor::Line(dc, - r.GetRight() + 1, - r.GetTop(), - r.GetRight() + 1, - r.GetBottom() + 1 ); - } } }