fix windows compilation, rename CONTEXT in scicos MVC to DIAGRAM_CONTEXT ( CONTEXT...
[scilab.git] / scilab / modules / scicos / src / cpp / Model_getObjectProperties.cpp
index 741245e..0123385 100644 (file)
@@ -523,7 +523,7 @@ bool Model::getObjectProperty(ScicosID uid, kind_t k, object_properties_t p, std
         model::Diagram* o = static_cast<model::Diagram*>(getObject(uid));
         switch (p)
         {
-            case CONTEXT:
+            case DIAGRAM_CONTEXT:
                 o->getContext(v);
                 return true;
             default: