]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/wxCDMNewBlackBoxDialog.cpp
#2499 crea Feature New Normal - wt-version wtLibrary
[crea.git] / lib / creaDevManagerLib / wxCDMNewBlackBoxDialog.cpp
index 7e0c69f4516ef76a6dea84ecad82e6900bbe5522..b48d187766f07c6f2ad236faddfd260962f39f57 100644 (file)
@@ -125,7 +125,8 @@ const wxString wxCDMNewBlackBoxDialog::GetBlackBoxType() const
 #endif
     break;
   default:
-         res = wxT("std");
+    res = wxT("std");
+    break;
   }
   return res;
 }
@@ -142,7 +143,8 @@ const wxString wxCDMNewBlackBoxDialog::GetBlackBoxFormat() const
     res = wxT("XML");
     break;
   default:
-         res = wxT("C++");
+    res = wxT("C++");
+    break;
   }
   return res;
 }
@@ -178,9 +180,12 @@ void wxCDMNewBlackBoxDialog::CreateControls()
           wxT("Basic - AtomicBlackBox"),
                  wxT("Widget - WxBlackBox"),
           wxT("VTK ImageAlgorithm - Basic and vtkImageAlgorithm (standard vtk I/O)"),
-          wxT("VTK PolyDataAlgorithm - Basic and vtkPolyDataAlgorithm (standard vtk I/O)")
+          wxT("VTK PolyDataAlgorithm - Basic and vtkPolyDataAlgorithm (standard vtk I/O)"),
+//JFGA new type added
+         wxT("Web Widget - WtBlackBox")
+       
       };
-  this->blackBoxType = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 4, BBTypes);
+  this->blackBoxType = new wxChoice(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 5, BBTypes);
 
   wxString BBFormats[] =
       {