]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxGimmickView.cpp
Added local copy functionality.
[creaImageIO.git] / src2 / creaImageIOWxGimmickView.cpp
index 4381a6e1a38e422714d0d6fa19c93fd093555108..0664caf2269cd0c170f60800172d23c40ce66621 100644 (file)
@@ -611,6 +611,13 @@ namespace creaImageIO
          GetTreeViewMap()[crea::wx2std(mNotebook->GetPageText(mNotebook->GetSelection()))]->UpdateLevel(1);
   }
 
+  //=================================================
+  void WxGimmickView::CopyFiles(const std::vector<std::string>& filenames)
+  {
+         mGimmick->CopyFiles(filenames, crea::wx2std(mNotebook->GetPageText(mNotebook->GetSelection())));
+         wxMessageBox(std2wx("The selected files have been copied"),_T("Copy files"),wxOK,this);
+  }
+
    //=================================================
   void WxGimmickView::OnSynchronize(wxCommandEvent& event)
   {