circle = &c;
//pen = circle->getPen();
ui.wPen->setPen(circle->getPen(false), true, false, "Pen");
- Drawing * graphic = circle->getGraphic();
+ Drawing * drawing = circle->GetDrawing();
- if (graphic != NULL)
- ui.cbLayer->init(*(graphic->getLayerList()), false, false);
+ if (drawing)
+ ui.cbLayer->init(*(drawing->getLayerList()), false, false);
Layer * lay = circle->getLayer(false);