Fix bug in linux compile
wx 3.0 does not have an emplace_back method for wxVector
This commit is contained in:
parent
d1a0102e84
commit
94f682c6bd
|
@ -888,9 +888,9 @@ void DIALOG_FIELDS_EDITOR_GLOBAL::AddField( const wxString& aName,
|
|||
m_config->Read( "SymbolFieldEditor/Show/" + aName, &defaultShow );
|
||||
m_config->Read( "SymbolFieldEditor/GroupBy/" + aName, &defaultSortBy );
|
||||
|
||||
fieldsCtrlRow.emplace_back( wxVariant( aName ) );
|
||||
fieldsCtrlRow.emplace_back( wxVariant( defaultShow ) );
|
||||
fieldsCtrlRow.emplace_back( wxVariant( defaultSortBy ) );
|
||||
fieldsCtrlRow.push_back( wxVariant( aName ) );
|
||||
fieldsCtrlRow.push_back( wxVariant( defaultShow ) );
|
||||
fieldsCtrlRow.push_back( wxVariant( defaultSortBy ) );
|
||||
|
||||
m_fieldsCtrl->AppendItem( fieldsCtrlRow );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue