]> Creatis software - crea.git/commitdiff
std::string vs wxString
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Jun 2011 18:31:53 +0000 (18:31 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 15 Jun 2011 18:31:53 +0000 (18:31 +0000)
appli/creaNewProject/creaNewProject.cpp

index 0b2d98e3fba0fbbef8683e1e28b0108e2bf2435d..a19b5132a52d9c8f0b96dcc9d05a463b56ab7cd2 100644 (file)
@@ -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";