eeschema-gal: factor out EDA_DRAW_PANEL from BITMAP_BASE, remove some unnecessary includes of class_drawpanel.h

This commit is contained in:
Tomasz Wlostowski
2018-10-09 11:08:52 +01:00
committed by Jeff Young
parent 82cb61b8af
commit 0d720fdeff
8 changed files with 6 additions and 9 deletions
+1 -2
View File
@@ -29,7 +29,6 @@
#include "fctsys.h"
#include "gr_basic.h"
#include "macros.h"
#include "class_drawpanel.h"
#include "trigo.h"
#include "common.h"
#include "richio.h"
@@ -216,7 +215,7 @@ const EDA_RECT BITMAP_BASE::GetBoundingBox() const
}
void BITMAP_BASE::DrawBitmap( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPos )
void BITMAP_BASE::DrawBitmap( wxDC* aDC, const wxPoint& aPos )
{
if( m_bitmap == NULL )
return;