Commit 473a724b authored by Wayne Stambaugh's avatar Wayne Stambaugh

Fix wxWidgets 2.8 compile error.

parent 1ae68145
...@@ -1895,9 +1895,10 @@ bool SCH_COMPONENT::doIsConnected( const wxPoint& aPosition ) const ...@@ -1895,9 +1895,10 @@ bool SCH_COMPONENT::doIsConnected( const wxPoint& aPosition ) const
bool SCH_COMPONENT::IsInNetlist() const bool SCH_COMPONENT::IsInNetlist() const
{ {
SCH_FIELD* rf = GetField( REFERENCE ); SCH_FIELD* rf = GetField( REFERENCE );
return ! rf->GetText().StartsWith("#"); return ! rf->GetText().StartsWith( wxT( "#" ) );
} }
void SCH_COMPONENT::Plot( PLOTTER* aPlotter ) void SCH_COMPONENT::Plot( PLOTTER* aPlotter )
{ {
LIB_COMPONENT* Entry; LIB_COMPONENT* Entry;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment