//#include "wxContour_ActionCommandsID.h"
//#include "OutlineModelBuilder.h"
//#include "wxContourEventHandler.h"
+#include <creaWx.h>
//----------------------------------------------------------------------------------------------------------------
// Class implementation
temp = temp + kernelManager->intToString(z) + "-cont" + kernelManager->intToString(iContourGroup);
temp = temp + ".txt";
- wxString filename;
+ // LG 14/01/09 : using crea
+ wxString filename = crea::std2wx(temp);
/*filename.Printf(_T("%s"),directory.c_str());
filename.append(_T("\\"));
filename.append(_T("%s"),namefile.c_str());
filename.append(_T("-cont"));
filename.append(_T("%d"),iContourGroup);
filename.append(_T(".txt"));*/
- filename.Printf(temp.c_str());
+ // filename.Printf(temp.c_str());
+
+
+
FILE *pFile=fopen((const char *)filename.mb_str(),"w+");
fprintf(pFile,"value \t x \t y \t z\n" );
int iLstValue,sizeLstValue=pLstValue.size();
std::string temp = directory + "/" + namefile + "-Value.mhd";
- wxString filename;
- filename.Printf(_T(temp.c_str()));
+ wxString filename = crea::std2wx(temp);
+ // LG
+ // filename.Printf(_T(temp.c_str()));
//filename.Printf(_T("%s\\%s-Value.mhd",directory.c_str(),namefile.c_str(),z);
/*filename.Printf(_T("%s"),directory.c_str());
filename.append(_T("\\"));
// filename.Printf("%s\\%s-Mask.mhd",directory.c_str(),namefile.c_str(),z);
temp = directory + "/" + namefile + "-Mask.mhd";
- filename.Printf(_T(temp.c_str()));
+ // LG 14/01/09 : using crea
+ filename = crea::std2wx(temp);
+ // filename.Printf(_T(temp.c_str()));
/*filename.Printf(_T("%s"),directory.c_str());
filename.append(_T("\\"));