OSX compiler didn't like the other syntax.
(cherry picked from commit f14e41133b
)
This commit is contained in:
parent
5b68cfa018
commit
d1ed4665de
|
@ -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