OSX compiler didn't like the other syntax.

This commit is contained in:
Jeff Young 2019-06-16 01:06:18 +01:00
parent 945eaceb91
commit f14e41133b
2 changed files with 4 additions and 3 deletions

View File

@ -148,7 +148,8 @@ public:
const wxArrayString GetFileExtensions() const override
{
return wxArrayString( 1, formatWildcardExt( "dxf" ) );
static wxString wildcardExt = formatWildcardExt( "dxf" );
return wxArrayString( 1, &wildcardExt );
}
bool Load( const wxString& aFileName ) override;

View File

@ -45,8 +45,8 @@ public:
const wxArrayString GetFileExtensions() const override
{
return wxArrayString( 1, formatWildcardExt( "svg" ) );
static wxString wildcardExt = formatWildcardExt( "svg" );
return wxArrayString( 1, &wildcardExt );
}
/**