Changed some c_str and GetData functions to GetChars in .Printf functions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user