]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
no message
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index ee8c36703b40264df6944f5358c9476edffffdea..dc32ca0c496dce5aa6ee439ef893c0cef8d53ebe 100644 (file)
@@ -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