Try to fix compil issue on OSX (commit 8757fcf6 breaks the import gfx dialog)

This commit is contained in:
jean-pierre charras 2018-12-04 20:03:23 +01:00
parent 3623980611
commit 4f4f03a98a
2 changed files with 6 additions and 4 deletions

View File

@ -145,8 +145,9 @@ public:
const wxArrayString GetFileExtensions() const override
{
// N.B. The extra "" hints for some compilers that the array should not be optimized out
return wxArrayString( 1, { "dxf", "" } );
wxArrayString list;
list.Add( "dxf" );
return list;
}
bool Load( const wxString& aFileName ) override;

View File

@ -44,8 +44,9 @@ public:
const wxArrayString GetFileExtensions() const override
{
// N.B. The extra "" hints for some compilers that the array should not be optimized out
return wxArrayString( 1, { "svg", "" } );
wxArrayString list;
list.Add( "svg" );
return list;
}
/**