Fix wxWidgets 2.8 compile error.

This commit is contained in:
Wayne Stambaugh 2013-09-28 18:53:55 -04:00
parent 1ae681454a
commit 473a724b9a
1 changed files with 2 additions and 1 deletions

View File

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