X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=cd591b16d36a18a543dc1a82928c583aa0ebd911;hb=827bf260ed8c5451c11c41854c411e8a84d70f11;hp=c44979971df2db8c622a96829e34ebe89070aecb;hpb=f6286f6851a4c0757cbacbee679d31bcc5a933bd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index c449799..cd591b1 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -173,18 +173,17 @@ printf("EED wxGEditorTabPanel::initWxVtkCanvas 1\n"); //========================================================================= - void wxGEditorTabPanel::saveDiagram(std::string &content) + void wxGEditorTabPanel::saveDiagram(std::string &content, const std::string &path) //DFCH { - this->SetFullPath(content); - std::cout<<"wxGEditorTabPanel: " << content <_fullPath <SetFullPath(path); _sceneManager->saveDiagram(content); } //========================================================================= - void wxGEditorTabPanel::loadDiagram(ifstream &inputStream) + void wxGEditorTabPanel::loadDiagram(ifstream &inputStream, const std::string &path) //DFCH { + this->SetFullPath(path); _sceneManager->loadDiagram(inputStream); }