From 738be4e8050964685be5c8a28a6f39c1cab24a81 Mon Sep 17 00:00:00 2001 From: charras Date: Tue, 2 Mar 2010 11:54:11 +0000 Subject: [PATCH] Pcbnew: fixed bug 2960364 --- kicad/class_treeprojectfiles.cpp | 4 ---- pcbnew/dialog_design_rules.cpp | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) 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" ) );