OSX compiler didn't like the other syntax.

(cherry picked from commit f14e41133b)
This commit is contained in:
Jeff Young 2019-06-16 01:06:18 +01:00 committed by Seth Hillbrand
parent 5b68cfa018
commit d1ed4665de
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 );
}
/**