From d99da201fbdc4a280026dd93a2259e360d6c2c73 Mon Sep 17 00:00:00 2001 From: Clemens Koller Date: Wed, 8 Feb 2017 22:10:09 +0100 Subject: [PATCH] kicad: tree_project_frame: fixup drawframe style. wxNO_BORDER and wxSW_3D seem incompatible and the border flickers when the tree frame gets resized. Using KICAD_DEFAULT_DRAWFRAME_STYLE avoids this. Signed-off-by: Clemens Koller --- kicad/tree_project_frame.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kicad/tree_project_frame.cpp b/kicad/tree_project_frame.cpp index a00bd98eeb..5236ff19c4 100644 --- a/kicad/tree_project_frame.cpp +++ b/kicad/tree_project_frame.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck * Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr - * Copyright (C) 1992-2016 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -35,6 +35,8 @@ #include #include +#include + #include #include #include @@ -127,7 +129,7 @@ TREE_PROJECT_FRAME::TREE_PROJECT_FRAME( KICAD_MANAGER_FRAME* parent ) : ID_LEFT_FRAME, wxDefaultPosition, wxDefaultSize, - wxNO_BORDER | wxSW_3D | wxTAB_TRAVERSAL ) + KICAD_DEFAULT_DRAWFRAME_STYLE | wxTAB_TRAVERSAL ) { m_Parent = parent; m_TreeProject = NULL;