X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=dc32ca0c496dce5aa6ee439ef893c0cef8d53ebe;hb=0005327e5412fb30342ba92456b06be932a11dcc;hp=ee8c36703b40264df6944f5358c9476edffffdea;hpb=368240ecf9aec0e09533f12d575287425a0526eb;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index ee8c367..dc32ca0 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -140,9 +140,13 @@ bool wxTheApplication :: OnInit() //std::string datadir( crea::wx2std(GetExecutablePath()) ); std::string datadir( GetExecutablePath() ); //JCP + + #ifdef LINUX /* assume this is OSX */ + datadir=datadir+"/../share/creaContours"; + #endif // MACOSX #ifdef MACOSX /* assume this is OSX */ - datadir=datadir+"/../../.."; + datadir=datadir+"/../../../../share/creaContours"; #endif // MACOSX