From a2116ae070bbe15410f209041457b530ec357e98 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Mon, 19 Sep 2016 15:16:52 +0200 Subject: [PATCH] Removed wxPaintDC from EDA_DRAW_PANEL_GAL::onPaint() --- common/draw_panel_gal.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/draw_panel_gal.cpp b/common/draw_panel_gal.cpp index fd48d83b7d..ebc981d844 100644 --- a/common/draw_panel_gal.cpp +++ b/common/draw_panel_gal.cpp @@ -155,9 +155,6 @@ void EDA_DRAW_PANEL_GAL::SetFocus() void EDA_DRAW_PANEL_GAL::onPaint( wxPaintEvent& WXUNUSED( aEvent ) ) { - // This is required even though dc is not used otherwise. - wxPaintDC dc(this); - m_pendingRefresh = false; if( m_drawing )