]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIScriptingInterface.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIScriptingInterface.cxx
index 2eb5ebe67162a14d6c4aa3d04773e42d93bc4fc2..6ae91c60d69d82515e4242e3d43b9556439807d8 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/09/10 12:38:24 $
-  Version:   $Revision: 1.18 $
+  Date:      $Date: 2008/10/02 13:21:11 $
+  Version:   $Revision: 1.20 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -267,7 +267,7 @@ namespace bbtk
     }                                                                  \
   catch (InterpreterError e)                                           \
     {                                                                  \
-      std::cerr << "* IERROR : "<<e.GetMessage()<<std::endl;           \
+      std::cerr << "* IERROR : "<<e.GetErrorMessage()<<std::endl;              \
       if (e.IsInScriptFile())                                          \
        std::cerr << "* FILE   : '"<<e.GetScriptFile()<<"'"<<std::endl; \
       std::cerr << "* LINE   : "<<e.GetScriptLine()<<std::endl;                \
@@ -549,9 +549,9 @@ namespace bbtk
     f.open(fname.c_str(), std::ios::out );
     f << conf << std::endl;
 
-    int x,y;
-    GetPosition(&x,&y);
-    f << x << "  " << y << std::endl;
+    //    int x,y;
+    //    GetPosition(&x,&y);
+    //    f << x << "  " << y << std::endl;
 
 
     int w,h;
@@ -577,8 +577,8 @@ namespace bbtk
        std::string conf;
        f >> conf;
 
-       int x,y;
-       f >> x >> y ;
+       //      int x,y;
+       //      f >> x >> y ;
 
        int w,h;
        f >> w >> h ;
@@ -587,7 +587,7 @@ namespace bbtk
        
        //      std::cout << conf << std::endl;
 
-       Move(x,y);
+       //      Move(x,y);
        SetSize(w,h);
        m_mgr.LoadPerspective(std2wx(conf));
       }