From 1aed2b31149e8e8bc662adac397ea6f57f564b6f Mon Sep 17 00:00:00 2001 From: Lorenzo Marcantonio Date: Sun, 2 Sep 2012 17:46:19 +0200 Subject: [PATCH] Another fix for wx2.9 compilation (same issue as before, another call...) --- common/edaappl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/edaappl.cpp b/common/edaappl.cpp index 2359b83c3e..7b784df4ac 100644 --- a/common/edaappl.cpp +++ b/common/edaappl.cpp @@ -683,7 +683,7 @@ void EDA_APP::SaveSettings() wxASSERT( m_settings != NULL ); m_settings->Write( wxT( "ShowPageLimits" ), g_ShowPageLimits ); 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 */ m_fileHistory.Save( *m_settings );