fix compil errors
This commit is contained in:
commit
05dc1bbf3d
|
@ -683,7 +683,7 @@ void EDA_APP::SaveSettings()
|
||||||
wxASSERT( m_settings != NULL );
|
wxASSERT( m_settings != NULL );
|
||||||
m_settings->Write( wxT( "ShowPageLimits" ), g_ShowPageLimits );
|
m_settings->Write( wxT( "ShowPageLimits" ), g_ShowPageLimits );
|
||||||
m_settings->Write( wxT( "WorkingDir" ), wxGetCwd() );
|
m_settings->Write( wxT( "WorkingDir" ), wxGetCwd() );
|
||||||
m_settings->Write( wxT( "BgColor" ), g_DrawBgColor );
|
m_settings->Write( wxT( "BgColor" ), (long) g_DrawBgColor );
|
||||||
|
|
||||||
/* Save the file history list */
|
/* Save the file history list */
|
||||||
m_fileHistory.Save( *m_settings );
|
m_fileHistory.Save( *m_settings );
|
||||||
|
|
|
@ -505,7 +505,7 @@ void PARAM_CFG_SETCOLOR::SaveParam( wxConfigBase* aConfig ) const
|
||||||
if( m_Pt_param == NULL || aConfig == NULL )
|
if( m_Pt_param == NULL || aConfig == NULL )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
aConfig->Write( m_Ident, *m_Pt_param );
|
aConfig->Write( m_Ident, (long) *m_Pt_param );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue