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
} \
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; \
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;
std::string conf;
f >> conf;
- int x,y;
- f >> x >> y ;
+ // int x,y;
+ // f >> x >> y ;
int w,h;
f >> w >> h ;
// std::cout << conf << std::endl;
- Move(x,y);
+ // Move(x,y);
SetSize(w,h);
m_mgr.LoadPerspective(std2wx(conf));
}