Removed wxPaintDC from EDA_DRAW_PANEL_GAL::onPaint()

This commit is contained in:
Simon Wells 2016-09-19 15:16:52 +02:00 committed by Maciej Suminski
parent 6edee2ae1d
commit a2116ae070
1 changed files with 0 additions and 3 deletions

View File

@ -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 )