66 ret &=
fromLegacy<int>( aCfg,
"PropertiesFrameWidth",
"properties_frame_width" );
70 ret &=
fromLegacy<int>( aCfg,
"LastUsedCustomWidth",
"last_custom_width" );
71 ret &=
fromLegacy<int>( aCfg,
"LastUsedCustomHeight",
"last_custom_height" );
APP_SETTINGS_BASE(const std::string &aFilename, int aSchemaVersion)
virtual bool MigrateFromLegacy(wxConfigBase *aCfg) override
Migrates from wxConfig to JSON-based configuration.
bool fromLegacy(wxConfigBase *aConfig, const std::string &aKey, const std::string &aDest)
Translates a legacy wxConfig value to a given JSON pointer value.
std::vector< PARAM_BASE * > m_params
The list of parameters (owned by this object)
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
int m_PropertiesFrameWidth
const int plEditorSchemaVersion
! Update the schema version whenever a migration is required