diff --git a/eeschema/sch_line.h b/eeschema/sch_line.h index abb4a60742..6d1befc1b4 100644 --- a/eeschema/sch_line.h +++ b/eeschema/sch_line.h @@ -50,6 +50,10 @@ public: SCH_LINE( const wxPoint& pos = wxPoint( 0, 0 ), int layer = LAYER_NOTES ); + SCH_LINE( const VECTOR2D& pos, int layer = LAYER_NOTES ) : + SCH_LINE( wxPoint( pos.x, pos.y ), layer ) + {} + SCH_LINE( const SCH_LINE& aLine ); ~SCH_LINE() { }