]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxBrowser.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxBrowser.cxx
index 3776e1f4f949c60680025516d6cb1de3a05d387c..5a24a95b5d18b48f7db7955c101e240e566bcafa 100644 (file)
@@ -4,6 +4,7 @@
 #include "bbtkWxBlackBox.h"
 
 #include "bbtkConfigurationFile.h"
+#include "bbtkUtilities.h"
 
 namespace bbtk
 {  
@@ -194,7 +195,14 @@ namespace bbtk
   {
     std::string url = ConfigurationFile::GetInstance().Get_url();
     url += "/bbtkWebSite/menu.html";
-    GoTo(url);
+    if (Utilities::FileExists(url)) 
+      {
+       GoTo(url);
+      }
+    else 
+      {
+       // what ?
+      }
   }
   //========================================================================