Commit 5202ec58 authored by Wayne Stambaugh's avatar Wayne Stambaugh

Fix std::string to wxString conversion bug in Pcbnew. (fixes lp:1226670)

parent 6fb73118
......@@ -324,14 +324,15 @@ void DIALOG_EXCHANGE_MODULE::Change_ModuleId( bool aUseValue )
check_module_value = true;
value = m_CurrentModule->GetValue();
msg.Printf( _( "Change modules %s -> %s (for value = %s)?" ),
m_CurrentModule->GetFPID().Format().c_str(),
GetChars( FROM_UTF8( m_CurrentModule->GetFPID().Format().c_str() ) ),
GetChars( newmodulename ),
GetChars( m_CurrentModule->GetValue() ) );
}
else
{
msg.Printf( _( "Change modules %s -> %s ?" ),
lib_reference.GetFootprintName().c_str(), GetChars( newmodulename ) );
GetChars( FROM_UTF8( lib_reference.Format().c_str() ) ),
GetChars( newmodulename ) );
}
if( !IsOK( this, msg ) )
......
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