//----------------------------------------------------------------------------
Path::Path( const CanvasWeakPtr& canvas,
- SGPropertyNode_ptr node,
- const Style& parent_style ):
- Element(canvas, node, parent_style),
+ const SGPropertyNode_ptr& node,
+ const Style& parent_style,
+ Element* parent ):
+ Element(canvas, node, parent_style, parent),
_path( new PathDrawable(this) )
{
setDrawable(_path);