X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxGUICommand.cxx;h=172f0260c0c36c397a5cc2b84abc2ff45af802dc;hb=6d91f7afe800c870a482570e5b0243fc3f425777;hp=d540113c55689fa60afaa314aca8867852737570;hpb=2b7ac5ab18a67097a812e20a5ecba3dac63f29cc;p=bbtk.git diff --git a/kernel/src/bbtkWxGUICommand.cxx b/kernel/src/bbtkWxGUICommand.cxx index d540113..172f026 100644 --- a/kernel/src/bbtkWxGUICommand.cxx +++ b/kernel/src/bbtkWxGUICommand.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUICommand.cxx,v $ Language: C++ - Date: $Date: 2008/03/20 15:27:56 $ - Version: $Revision: 1.3 $ + Date: $Date: 2008/04/24 12:56:39 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -147,7 +147,7 @@ namespace bbtk // std::string command(_T("include ")); // std::string pathfilename = (const char *)(dialog.GetFilename().mb_str()); std::string command("include "); - command += wx2std(dialog.GetPath()); + command = command + "\"" + wx2std(dialog.GetPath()) + "\""; SendCommand(command); } }