]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/InterpreterBBS.cxx
no message
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / InterpreterBBS.cxx
index c6b5a780041e326380a0c42d6a993daf62f994ba..8f6a049f357a937d8d6fd957b9ab8eb7a21d5290 100644 (file)
@@ -103,7 +103,7 @@ namespace bbtk
                                                                  const std::string &boxto,
                                                                  const std::string &input)                     // virtual
        {
-               _sceneManager->configGConnetion(_complexbox, boxfrom,output,boxto,input);
+               _sceneManager->configGConnetion( boxfrom,output,boxto,input);
        }
        //=========================================================================
        
@@ -112,7 +112,7 @@ namespace bbtk
        /// sets the input of the box with the value
        void InterpreterBBS::commandSet(const std::string &box,const std::string &input,const std::string &value) // virtual
        {
-               GBlackBoxModel *bbMod = _sceneManager->findGBox(box);
+               GBlackBoxModel *bbMod = (GBlackBoxModel *)_sceneManager->findGBox(box);
                bbMod->setValueToInput(input,"\""+value+"\"");                                  
        }
        //=========================================================================
@@ -137,7 +137,7 @@ namespace bbtk
        //=========================================================================
        void InterpreterBBS::commandExec(const std::string &word) // virtual 
        {
-               GBlackBoxModel *bbMod = _sceneManager->findGBox(word);
+               GBlackBoxModel *bbMod = (GBlackBoxModel *)_sceneManager->findGBox(word);
                bbMod->setExecutable(true);                             
        }
        //=========================================================================