fix windows compilation, rename CONTEXT in scicos MVC to DIAGRAM_CONTEXT ( CONTEXT...
[scilab.git] / scilab / modules / scicos / src / cpp / Model_setObjectProperties.cpp
index e02870b..77f3d72 100644 (file)
@@ -483,7 +483,7 @@ update_status_t Model::setObjectProperty(ScicosID uid, kind_t k, object_properti
         model::Diagram* o = static_cast<model::Diagram*>(getObject(uid));
         switch (p)
         {
-            case CONTEXT:
+            case DIAGRAM_CONTEXT:
                 return o->setContext(v);
             default:
                 break;