Removed wxPaintDC from EDA_DRAW_PANEL_GAL::onPaint()
This commit is contained in:
parent
6edee2ae1d
commit
a2116ae070
|
@ -155,9 +155,6 @@ void EDA_DRAW_PANEL_GAL::SetFocus()
|
||||||
|
|
||||||
void EDA_DRAW_PANEL_GAL::onPaint( wxPaintEvent& WXUNUSED( aEvent ) )
|
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;
|
m_pendingRefresh = false;
|
||||||
|
|
||||||
if( m_drawing )
|
if( m_drawing )
|
||||||
|
|
Loading…
Reference in New Issue