From: Daniel Gonzalez Date: Mon, 15 Oct 2012 08:56:57 +0000 (+0000) Subject: Bug #1658 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9271de2dbd2e3920a15de54c337ad830f0d49c69;p=bbtk.git Bug #1658 Linux DirDialogBox not working Fix in bbtkWxGUIScriptingInterface.cxx in plugPackage when creating error message to display. --- diff --git a/kernel/src/bbtkWxGUIScriptingInterface.cxx b/kernel/src/bbtkWxGUIScriptingInterface.cxx index 826f7eb..d5a1cc6 100644 --- a/kernel/src/bbtkWxGUIScriptingInterface.cxx +++ b/kernel/src/bbtkWxGUIScriptingInterface.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $ Language: C++ - Date: $Date: 2012/10/09 15:17:02 $ - Version: $Revision: 1.46 $ + Date: $Date: 2012/10/15 08:56:57 $ + Version: $Revision: 1.47 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -54,6 +54,8 @@ #include "bbtkWxStreamRedirector.h" #include "bbtkUtilities.h" +#include "creaWx.h" + #include #include @@ -791,7 +793,7 @@ std::cout << "================================================================== #endif - wxMessageBox(_T(err),_T("Plug package"),wxOK | wxICON_ERROR); + wxMessageBox(crea::std2wx(err),_T("Plug package"),wxOK | wxICON_ERROR); } } }while(userResponse != wxID_CANCEL);