Libedit: fix bug (svg export does not work)

other minor fixes.
This commit is contained in:
jean-pierre charras
2012-03-06 15:08:59 +01:00
parent ff624c35e3
commit d6d74ef77f
11 changed files with 962 additions and 911 deletions
+6 -7
View File
@@ -39,7 +39,6 @@
#include <appl_wxstruct.h>
#include <online_help.h>
#include <id.h>
#include <confirm.h>
#include <eda_doc.h>
#include <wxstruct.h>
#include <macros.h>
@@ -310,7 +309,7 @@ wxString EDA_BASE_FRAME::GetFileFromHistory( int cmdId, const wxString& type,
if( !wxFileName::FileExists( fn ) )
{
msg = type + _( " file <" ) + fn + _( "> was not found." );
DisplayError( this, msg );
wxMessageBox( msg );
fileHistory->RemoveFileFromHistory( i );
fn = wxEmptyString;
}
@@ -349,7 +348,7 @@ void EDA_BASE_FRAME::GetKicadHelp( wxCommandEvent& event )
{
msg.Printf( _( "Help file %s could not be found." ),
GetChars( wxGetApp().GetHelpFileName() ) );
DisplayError( this, msg );
wxMessageBox( msg );
}
else
{
@@ -376,7 +375,7 @@ void EDA_BASE_FRAME::GetKicadHelp( wxCommandEvent& event )
else
{
msg.Printf( _( "Help file %s not found." ), GetChars( wxGetApp().GetHelpFileName() ) );
DisplayError( this, msg );
wxMessageBox( msg );
}
#elif defined ONLINE_HELP_FILES_FORMAT_IS_PDF
@@ -386,7 +385,7 @@ void EDA_BASE_FRAME::GetKicadHelp( wxCommandEvent& event )
{
msg.Printf( _( "Help file %s could not be found." ),
GetChars( wxGetApp().GetHelpFileName() ) );
DisplayError( this, msg );
wxMessageBox( msg );
}
else
{
@@ -589,7 +588,7 @@ bool EDA_BASE_FRAME::IsWritable( const wxFileName& aFileName )
if( !msg.IsEmpty() )
{
DisplayError( this, msg );
wxMessageBox( msg );
return false;
}
@@ -643,7 +642,7 @@ edits you made?" ),
if( !wxRenameFile( aFileName.GetFullPath(), backupFileName.GetFullPath() ) )
{
msg = _( "Could not create backup file " ) + backupFileName.GetFullPath();
DisplayError( this, msg );
wxMessageBox( msg );
}
}