]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUICommand.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUICommand.cxx
index d540113c55689fa60afaa314aca8867852737570..172f0260c0c36c397a5cc2b84abc2ff45af802dc 100644 (file)
@@ -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);
      }
   }