diff options
Diffstat (limited to 'Project/Bus.h')
-rw-r--r-- | Project/Bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Bus.h b/Project/Bus.h index ac271b7..0c9d374 100644 --- a/Project/Bus.h +++ b/Project/Bus.h @@ -9,7 +9,7 @@ class Bus : public Element Bus(); Bus(wxPoint2DDouble position); ~Bus(); - virtual void Insert(Element* parent, wxPoint2DDouble position = wxPoint2DDouble(0.0, 0.0)) { SetPosition(position); }; + virtual bool AddParent(Element* parent, wxPoint2DDouble position) {return true;} virtual bool Contains(wxPoint2DDouble position) const; virtual bool Intersects(wxRect2DDouble rect) const; virtual void Draw(wxPoint2DDouble translation, double scale) const; |