From 473a724b9ae6cd0d944453287a62b979d85a8e80 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 28 Sep 2013 18:53:55 -0400 Subject: [PATCH] Fix wxWidgets 2.8 compile error. --- eeschema/sch_component.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/sch_component.cpp b/eeschema/sch_component.cpp index 0136f605d9..5608016a16 100644 --- a/eeschema/sch_component.cpp +++ b/eeschema/sch_component.cpp @@ -1895,9 +1895,10 @@ bool SCH_COMPONENT::doIsConnected( const wxPoint& aPosition ) const bool SCH_COMPONENT::IsInNetlist() const { SCH_FIELD* rf = GetField( REFERENCE ); - return ! rf->GetText().StartsWith("#"); + return ! rf->GetText().StartsWith( wxT( "#" ) ); } + void SCH_COMPONENT::Plot( PLOTTER* aPlotter ) { LIB_COMPONENT* Entry;