From 500e3b9d85547667974a9d6a148f190fcca14262 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Wed, 4 Apr 2012 21:08:16 +0400 Subject: [PATCH] pcb_calc: fix build in linux distrib Mageia1 with wxgtk2.8-2.8.11-4.mga1 --- pcb_calculator/pcb_calculator_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcb_calculator/pcb_calculator_frame.cpp b/pcb_calculator/pcb_calculator_frame.cpp index 8277bd6dea..e026362df8 100644 --- a/pcb_calculator/pcb_calculator_frame.cpp +++ b/pcb_calculator/pcb_calculator_frame.cpp @@ -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 );