From: jean-pierre roux Date: Wed, 15 Jun 2011 18:31:53 +0000 (+0000) Subject: std::string vs wxString X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4fc7d399732a23c19ef4f06e80ed9b5f51f76939;p=crea.git std::string vs wxString --- diff --git a/appli/creaNewProject/creaNewProject.cpp b/appli/creaNewProject/creaNewProject.cpp index 0b2d98e..a19b513 100644 --- a/appli/creaNewProject/creaNewProject.cpp +++ b/appli/creaNewProject/creaNewProject.cpp @@ -95,7 +95,8 @@ bool myApp::OnInit( ) // bbCreatePackage nomDirectory nomPackage author Description //EED char *author = getenv("USER"); - char *author = (char*) (authorWX.mb_str()) ; +// JPR char *author = (char*) (authorWX.mb_str()); + std::string author(authorWX.mb_str()); std::string nomDirectory = crea::wx2std(dir) + "/" + crea::wx2std(name); std::string nomPackageDirectory = nomDirectory + "/" + "bbtk_" + crea::wx2std(name) + "_PKG";