if (err)
{
printf("Could not determine current executable path ? ");
- }
-
+ }
// remove the exe name
char *slash;
slash = strrchr(name, CREACONTOUR_VALID_FILE_SEPARATOR_CHAR);
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+"/../../..";