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

This commit is contained in:
Andrey Fedorushkov 2012-04-04 21:08:16 +04:00
parent 70cf189132
commit e4309287bf
1 changed files with 1 additions and 1 deletions

View File

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