Cleanup some wx/gdicmn.h includes

This commit is contained in:
Marek Roszko 2022-01-04 20:32:27 -05:00
parent 5d3609b20b
commit 98ee6c5f85
11 changed files with 2 additions and 14 deletions

View File

@ -25,7 +25,6 @@
#define BEZIER_CURVES_H
#include <vector>
#include <wx/gdicmn.h>
#include <math/vector2d.h>
/**

View File

@ -27,7 +27,6 @@
#include <geometry/shape_poly_set.h>
#include <geometry/geometry_utils.h>
#include <wx/gdicmn.h> // for wxPoint
// The chamfer positions of chamfered rect shape.

View File

@ -27,8 +27,6 @@
#define FP_SHAPE_H
#include <wx/gdicmn.h>
#include <pcb_shape.h>

View File

@ -28,7 +28,6 @@
#include <algorithm>
#include <cmath>
#include <wx/gdicmn.h>
#include <math/vector2d.h>
#include "convert_to_biu.h"

View File

@ -37,7 +37,6 @@
#include <common.h>
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -28,7 +28,6 @@
#include <common.h>
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -31,7 +31,6 @@
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -39,7 +39,6 @@
#include <trigo.h>
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -27,7 +27,6 @@
#include <common.h>
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -27,7 +27,6 @@
#include <common.h>
#include <xnode.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {

View File

@ -32,7 +32,6 @@
#include <xnode.h>
#include <zone.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
namespace PCAD2KICAD {
@ -198,8 +197,8 @@ void PCB_POLYGON::AddToBoard()
// add outline
for( i = 0; i < (int) m_outline.GetCount(); i++ )
{
zone->AppendCorner( wxPoint( KiROUND( m_outline[i]->x ),
KiROUND( m_outline[i]->y ) ), -1 );
zone->AppendCorner( VECTOR2I( KiROUND( m_outline[i]->x ),
KiROUND( m_outline[i]->y ) ), -1 );
}
zone->SetLocalClearance( m_width );