From 6d5ee76668fc01f554fb0c017a2bc96359b250f3 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Fri, 24 Sep 2010 08:18:33 -0400 Subject: [PATCH] Fix build error when compiling against 2.8 branch of wxWidgets. --- common/drawpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/drawpanel.cpp b/common/drawpanel.cpp index 103836be46..2ddb9892ca 100644 --- a/common/drawpanel.cpp +++ b/common/drawpanel.cpp @@ -816,7 +816,7 @@ void WinEDA_DrawPanel::DrawGrid( wxDC* DC ) int increment = double_size ? 2 : 1; if( double_size ) { - wxRealPoint dblgrid = screen_grid_size * 2; + wxRealPoint dblgrid = screen_grid_size + screen_grid_size; m_Parent->PutOnGrid(&org, &dblgrid); }