]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.cxx
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / kernel / src / bbtkInterpreter.cxx
index 04dcfdf1403a55048857b5f9e3a3cc05d1f233d4..a31fe0f20ceb0b589eae32be38e01864d09a1e5f 100644 (file)
@@ -1577,7 +1577,11 @@ void Interpreter::commandHelp(const std::vector<std::string>& words)
     CommandDictType::iterator c;
     c = mCommandDict.find(s);
     if ( c == mCommandDict.end() ) {
-      bbtkError(s<<" : Unknown command");
+
+//EED 2016-12-22
+//      bbtkError(s<<" : Unknown command");
+     std::string tmpSS=s+" : Unknown command";
+      bbtkError(tmpSS);
     }  
     //    std::cout << " " << s << " : "<<  std::endl;
     //    CommandParamDictType::iterator i;
@@ -2020,8 +2024,21 @@ void  Interpreter::commandNewGUI(const std::string& boxname,
           ( d->GetCreatorTypeInfo() == typeid(WxBlackBoxDescriptor)) )
        continue;
 #else
+// JFGA 12/12/2014 Adding WT options for compile with it.
+
+/*#if USE_WT
+
+       if ( ( d->GetCreatorTypeInfo() == typeid(AtomicBlackBoxDescriptor)) ||
+          ( d->GetCreatorTypeInfo() == typeid(WtBlackBoxDescriptor)) )
+       continue;
+       
+
+#else
+*/
       if ( ( d->GetCreatorTypeInfo() == typeid(AtomicBlackBoxDescriptor)) )
        continue;
+//#endif
+
 #endif
       bool widok = true;
       std::string widget,adaptor;