]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxDropFiles.cxx
CompareImages
[bbtk.git] / packages / wx / src / bbwxDropFiles.cxx
index 62585a7f4997d89d9fea8d51b066d78ca8b50fa8..63bc712d5438f98f0327ad29b7070265aae81ce0 100644 (file)
@@ -43,7 +43,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(DropFiles,bbtk::AtomicBlackBox);
 //===== 
 void DropFiles::Process()
 {
-
 // THE MAIN PROCESSING METHOD BODY
 //   Here we simply set the input 'In' value to the output 'Out'
 //   And print out the output value
@@ -58,50 +57,45 @@ void DropFiles::Process()
 
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
-
        if (bbGetInputWidget()!=NULL)
        { 
                bbGetInputWidget()->SetDropTarget( new WxDropFiles(this) );
        }
-  
+    bbSetOutputLstPaths( bbGetInputLstPaths() );
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void DropFiles::bbUserSetDefaultValues()
 {
-
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
    bbSetInputWidget(NULL);
-  
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void DropFiles::bbUserInitializeProcessing()
 {
-
 //  THE INITIALIZATION METHOD BODY :
 //    Here does nothing 
 //    but this is where you should allocate the internal/output pointers 
-//    if any 
-
-  
+//    if any
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void DropFiles::bbUserFinalizeProcessing()
 {
-
 //  THE FINALIZATION METHOD BODY :
 //    Here does nothing 
 //    but this is where you should desallocate the internal/output pointers 
 //    if any
-  
-}
 }
-// EO namespace bbwx
+
+}// EO namespace bbwx