X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=5ba7580971cc9cbb9ed1e092f52cfae4470f415f;hb=8e43346f916bb1b027660dd175241d5d611ba9a0;hp=e80ea04efae462a647b4697549e094097db81ebc;hpb=0e89441a8389a384ae45ae73e382edfd6d35b252;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index e80ea04..5ba7580 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -231,8 +231,7 @@ std::string GetExecutablePath() if (err) { printf("Could not determine current executable path ? "); - } - + } // remove the exe name char *slash; slash = strrchr(name, CREACONTOUR_VALID_FILE_SEPARATOR_CHAR); @@ -276,7 +275,10 @@ bool wxTheApplication :: OnInit() creaImageIO::WxGimmickReaderDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),min_image_type,max_image_type,output_dim,threads); w.ShowModal(); - std::string datadir( crea::wx2std(GetExecutablePath()) ); +//JCP + //std::string datadir( crea::wx2std(GetExecutablePath()) ); + std::string datadir( GetExecutablePath() ); +//JCP #ifdef MACOSX /* assume this is OSX */ datadir=datadir+"/../../..";