Commit 6d5ee766 authored by Wayne Stambaugh's avatar Wayne Stambaugh

Fix build error when compiling against 2.8 branch of wxWidgets.

parent bff752e7
...@@ -816,7 +816,7 @@ void WinEDA_DrawPanel::DrawGrid( wxDC* DC ) ...@@ -816,7 +816,7 @@ void WinEDA_DrawPanel::DrawGrid( wxDC* DC )
int increment = double_size ? 2 : 1; int increment = double_size ? 2 : 1;
if( double_size ) if( double_size )
{ {
wxRealPoint dblgrid = screen_grid_size * 2; wxRealPoint dblgrid = screen_grid_size + screen_grid_size;
m_Parent->PutOnGrid(&org, &dblgrid); m_Parent->PutOnGrid(&org, &dblgrid);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment