Commit e4309287 authored by Andrey Fedorushkov's avatar Andrey Fedorushkov

pcb_calc: fix build in linux distrib Mageia1 with wxgtk2.8-2.8.11-4.mga1

parent 70cf1891
......@@ -149,7 +149,7 @@ void PCB_CALCULATOR_FRAME::OnClosePcbCalc( wxCloseEvent& event )
{
wxString msg;
msg.Printf( _("Unable to write file<%s>\n"\
"Do you want to exit and abandon your change?"), GetDataFilename() );
"Do you want to exit and abandon your change?"), GetDataFilename().c_str() );
int opt = wxMessageBox( msg, _("Write Data File Errror"),
wxYES_NO | wxICON_QUESTION );
......
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