Modification::Modification(EntityContainer & container,
GraphicView * graphicView, bool handleUndo)
{
- this->container = &container;
- this->graphicView = graphicView;
- this->handleUndo = handleUndo;
- graphic = container.getGraphic();
- document = container.getDocument();
+ this->container = &container;
+ this->graphicView = graphicView;
+ this->handleUndo = handleUndo;
+#warning "!!! Need to rename graphic to drawing !!!"
+ graphic = container.GetDrawing();
+ document = container.getDocument();
}
/**