GEOM::GEOM_Gen_ptr engine = _this();
//transfer the reference to GEOM_Object_i
- GEOM_Object_i* servant = new GEOM_Object_i (_poa, engine, handle_object);
+ GEOM_Object_i* servant = new GEOM_Object_i (_poa, engine, handle_object, GetNotebook( theStudyID ) );
PortableServer::ObjectId_var id = _poa->activate_object(servant);
obj = servant->_this();
//=============================================================================
GEOM_Object_i::GEOM_Object_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
- Handle(GEOM_Object) theImpl)
-: SALOME::GenericObj_i( thePOA ), _engine(theEngine), _impl(theImpl)
+ Handle(GEOM_Object) theImpl, SALOME::Notebook_ptr theNotebook )
+ : SALOME_ParameterizedObject( theNotebook ), _engine(theEngine), _impl(theImpl)
{
}