Use wxFileConfig, not wxConfig

The wrong class is called for the ctor of the wxConfigBase - this should
be a wxFileConfig, just like the bare new used to be.

Fixes: lp:1810002
* https://bugs.launchpad.net/kicad/+bug/1810002
This commit is contained in:
John Beard 2018-12-28 23:37:41 +00:00 committed by Wayne Stambaugh
parent fb35a7c8b4
commit e919ded35f
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ std::unique_ptr<wxConfigBase> GetNewConfig( const wxString& aProgName )
configname.AssignDir( GetKicadConfigPath() );
configname.SetFullName( aProgName );
return std::make_unique<wxConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
return std::make_unique<wxFileConfig>( wxT( "" ), wxT( "" ), configname.GetFullPath() );
}