From adc9b70d729870bbbfb69b8ba52f393d9c035f48 Mon Sep 17 00:00:00 2001 From: Lorenzo Marcantonio Date: Sun, 2 Sep 2012 16:13:50 +0200 Subject: [PATCH] Probable fix for compilation under wx 2.9 (doesnt hurt anyway) --- common/drawframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/drawframe.cpp b/common/drawframe.cpp index b00ca4f3cb..619c5e3528 100644 --- a/common/drawframe.cpp +++ b/common/drawframe.cpp @@ -568,7 +568,7 @@ void EDA_DRAW_FRAME::SaveSettings() EDA_BASE_FRAME::SaveSettings(); cfg->Write( m_FrameName + CursorShapeEntryKeyword, m_cursorShape ); cfg->Write( m_FrameName + ShowGridEntryKeyword, IsGridVisible() ); - cfg->Write( m_FrameName + GridColorEntryKeyword, GetGridColor() ); + cfg->Write( m_FrameName + GridColorEntryKeyword, ( long ) GetGridColor() ); cfg->Write( m_FrameName + LastGridSizeId, ( long ) m_LastGridSizeId ); }