Try to fix compil issue on OSX (commit 8757fcf6
breaks the import gfx dialog)
This commit is contained in:
parent
3623980611
commit
4f4f03a98a
|
@ -145,8 +145,9 @@ public:
|
||||||
|
|
||||||
const wxArrayString GetFileExtensions() const override
|
const wxArrayString GetFileExtensions() const override
|
||||||
{
|
{
|
||||||
// N.B. The extra "" hints for some compilers that the array should not be optimized out
|
wxArrayString list;
|
||||||
return wxArrayString( 1, { "dxf", "" } );
|
list.Add( "dxf" );
|
||||||
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Load( const wxString& aFileName ) override;
|
bool Load( const wxString& aFileName ) override;
|
||||||
|
|
|
@ -44,8 +44,9 @@ public:
|
||||||
|
|
||||||
const wxArrayString GetFileExtensions() const override
|
const wxArrayString GetFileExtensions() const override
|
||||||
{
|
{
|
||||||
// N.B. The extra "" hints for some compilers that the array should not be optimized out
|
wxArrayString list;
|
||||||
return wxArrayString( 1, { "svg", "" } );
|
list.Add( "svg" );
|
||||||
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue