From 4fc7d399732a23c19ef4f06e80ed9b5f51f76939 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 15 Jun 2011 18:31:53 +0000 Subject: [PATCH] std::string vs wxString --- appli/creaNewProject/creaNewProject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; -- 2.47.1