diff --git a/kicad/class_treeprojectfiles.cpp b/kicad/class_treeprojectfiles.cpp index 27173eb8ef..48b453ed1e 100644 --- a/kicad/class_treeprojectfiles.cpp +++ b/kicad/class_treeprojectfiles.cpp @@ -3,10 +3,6 @@ * this is the wxTreeCtrl that shows a Kicad tree project files */ -#ifdef KICAD_PYTHON -#include -#endif - #include "fctsys.h" #include "common.h" #include "bitmaps.h" diff --git a/pcbnew/dialog_design_rules.cpp b/pcbnew/dialog_design_rules.cpp index ba90d126ca..f42c15edeb 100644 --- a/pcbnew/dialog_design_rules.cpp +++ b/pcbnew/dialog_design_rules.cpp @@ -108,8 +108,8 @@ DIALOG_DESIGN_RULES::DIALOG_DESIGN_RULES( WinEDA_PcbFrame* parent ) : column0.Clear(); column1.Clear(); - column0.SetImage( -1 ); - column1.SetImage( -1 ); + column0.SetMask(wxLIST_MASK_TEXT); + column1.SetMask(wxLIST_MASK_TEXT); column0.SetText( _( "Net" ) ); column1.SetText( _( "Class" ) );