Changed some c_str and GetData functions to GetChars in .Printf functions

This commit is contained in:
charras
2009-10-13 09:00:46 +00:00
parent b1a8a0749a
commit 657325be33
29 changed files with 216 additions and 238 deletions
+2 -2
View File
@@ -259,7 +259,7 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event )
}
else
{
msg.Printf( _( "Help file %s not found" ), wxGetApp().m_HelpFileName.GetData() );
msg.Printf( _( "Help file %s not found" ), GetChars( wxGetApp().m_HelpFileName ) );
DisplayError( this, msg );
}
@@ -268,7 +268,7 @@ void WinEDA_BasicFrame::GetKicadHelp( wxCommandEvent& event )
if( !helpFile )
{
msg.Printf( _( "Help file %s could not be found." ),
wxGetApp().m_HelpFileName.c_str() );
GetChars( wxGetApp().m_HelpFileName ) );
DisplayError( this, msg );
}
else