]> Creatis software - bbtk.git/commitdiff
Bug #1658
authorDaniel Gonzalez <Daniel.Gonzalez@creatis.insa-lyon.fr>
Mon, 15 Oct 2012 08:56:57 +0000 (08:56 +0000)
committerDaniel Gonzalez <Daniel.Gonzalez@creatis.insa-lyon.fr>
Mon, 15 Oct 2012 08:56:57 +0000 (08:56 +0000)
Linux DirDialogBox not working
Fix in bbtkWxGUIScriptingInterface.cxx in plugPackage when creating error message to display.

kernel/src/bbtkWxGUIScriptingInterface.cxx

index 826f7ebc5bcd03d82b113efc3f0a9b7d6507d2db..d5a1cc63e9a51e5335f7ba9aa6a5fdc516c91b64 100644 (file)
@@ -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 <wx/tipwin.h>
 #include <wx/splash.h>
 
@@ -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);