Fixed wxString to char* cast for wxWidgets built with certain flags.

This commit is contained in:
Maciej Suminski 2015-06-16 19:15:28 +02:00
parent d3b31316ba
commit 06aa47c93d
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void WX_HTML_REPORT_PANEL::onBtnSaveToFile( wxCommandEvent& event )
wxString msg;
msg.Printf( _( "Cannot write report to file '%s'." ),
(const char *)( fn.GetFullPath() ) );
fn.GetFullPath().c_str() );
wxMessageBox( msg, _( "File save error" ), wxOK | wxICON_ERROR, this );
return;
}