OSX compiler didn't like the other syntax.
This commit is contained in:
parent
945eaceb91
commit
f14e41133b
|
@ -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;
|
||||
|
|
|
@ -45,8 +45,8 @@ public:
|
|||
|
||||
const wxArrayString GetFileExtensions() const override
|
||||
{
|
||||
|
||||
return wxArrayString( 1, formatWildcardExt( "svg" ) );
|
||||
static wxString wildcardExt = formatWildcardExt( "svg" );
|
||||
return wxArrayString( 1, &wildcardExt );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue