diff --git a/common/drawpanel.cpp b/common/drawpanel.cpp index 5bf0f7fc2a..a1e53dc484 100644 --- a/common/drawpanel.cpp +++ b/common/drawpanel.cpp @@ -512,9 +512,9 @@ void WinEDA_DrawPanel::OnPaint( wxPaintEvent& event ) /***************************************************/ { #ifdef USE_GCDC_IN_KICAD - wxPaintDC pDC( this ); - wxGCDC paintDC(pDC); // Following line should be disabled on MSW and OS X - paintDC.GetGraphicsContext()->Translate(0.5, 0.5); // Fix for pixel offset bug http://trac.wxwidgets.org/ticket/4187 + wxPaintDC pDC( this ); + wxGCDC paintDC(pDC); // Following line should be disabled on MSW and OS X + paintDC.GetGraphicsContext()->Translate(0.5, 0.5); // Fix for pixel offset bug http://trac.wxwidgets.org/ticket/4187 #else wxPaintDC paintDC( this ); #endif