X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=9e8d5e5f54e0ce404fb66f1e5271fd2e73bbe989;hb=4d5574beaa0d2f56951b00a9fcca5dd945506e13;hp=ddf28af5c096a10da2b457e2815c7406cd525149;hpb=89f5bbefcd87de09f9c8d60e1d8fecabec554a1c;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index ddf28af..9e8d5e5 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -16,7 +16,7 @@ #include "vtkMetaImageReader.h" #include -#include "vtkImageData.h" +#include "vtkImageData.h"mb_ #include "wx/artprov.h" #include @@ -134,7 +134,7 @@ bool wxTheApplication :: OnInit() }else if (w.GetReturnCode() == wxID_CANCEL){ vtkMetaImageReader *reader = vtkMetaImageReader::New(); wxString filename= getExecutablePath()+ wxString( _T("/data/hola.mhd") , wxConvUTF8 ); - reader->SetFileName( filename.c_str() ); + reader->SetFileName( (const char*)(filename.mb_str()) ); reader->Update(); images.push_back(reader->GetOutput()); }else{