Browse Source

Fix wxWidgets 2.8 compile error.

pull/1/head
Wayne Stambaugh 12 years ago
parent
commit
473a724b9a
  1. 3
      eeschema/sch_component.cpp

3
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;

Loading…
Cancel
Save