Fix explicit wxstring build breakage
This commit is contained in:
parent
9947cc0359
commit
7b904545e9
|
@ -2055,7 +2055,7 @@ int SCH_SCREENS::ChangeSymbolLibNickname( const wxString& aFrom, const wxString&
|
|||
{
|
||||
SCH_SYMBOL* symbol = static_cast<SCH_SYMBOL*>( item );
|
||||
|
||||
if( wxString( symbol->GetLibId().GetLibNickname() ) != aFrom )
|
||||
if( symbol->GetLibId().GetLibNickname().wx_str() != aFrom )
|
||||
continue;
|
||||
|
||||
LIB_ID id = symbol->GetLibId();
|
||||
|
|
|
@ -1802,7 +1802,7 @@ void SCH_SYMBOL::Show( int nestLevel, std::ostream& os ) const
|
|||
NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str()
|
||||
<< " ref=\"" << TO_UTF8( GetField( REFERENCE_FIELD )->GetName() )
|
||||
<< '"' << " chipName=\""
|
||||
<< wxString( GetLibId().Format() ) << '"' << m_pos
|
||||
<< GetLibId().Format().wx_str() << '"' << m_pos
|
||||
<< " layer=\"" << m_layer
|
||||
<< '"' << ">\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue