More std::string vs. wxString compile issues.

This commit is contained in:
Jeff Young 2020-04-22 12:27:34 +01:00
parent fd6c9c7685
commit 857aca78cd
1 changed files with 1 additions and 1 deletions

View File

@ -1099,7 +1099,7 @@ void DIALOG_FIELDS_EDITOR_GLOBAL::OnTableColSize( wxGridSizeEvent& aEvent )
{
EESCHEMA_SETTINGS* cfg = static_cast<EESCHEMA_SETTINGS*>( Kiface().KifaceSettings() );
int col = aEvent.GetRowOrCol();
wxString key = m_grid->GetColLabelValue( col );
std::string key = m_grid->GetColLabelValue( col ).ToStdString();
if( m_grid->GetColSize( col ) )
cfg->m_FieldEditorPanel.column_widths[ key.ToStdString() ] = m_grid->GetColSize( col );