X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FwxGEditorTabPanel.cxx;h=e2ead8fd058d6000e8d2c7a4a59b798da965e550;hb=a62e394e0f56bb5adff696adf06be425680bddca;hp=c2f538c5baaddaedd95e0acad8988bc28799cbb8;hpb=50851761f4216d932217db8e8fe56dd5aac6b0fb;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx index c2f538c..e2ead8f 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx @@ -35,7 +35,7 @@ Version: $Revision$ #include "wxGEditorTabPanel.h" - +#include "creaWx.h" namespace bbtk { @@ -79,7 +79,7 @@ namespace bbtk std::string packageName=""; std::string boxName=""; - wxString foo( wxT(data) ); + wxString foo( (data) ); char str[150]; strcpy( str, (const char*)foo.mb_str(wxConvUTF8) ); @@ -94,7 +94,6 @@ namespace bbtk _sceneManager->createGBlackBox(x,y,packageName, boxName); return true; - } //========================================================================= @@ -113,7 +112,34 @@ namespace bbtk //========================================================================= + void wxGEditorTabPanel::updateStatusBar(std::string textStatus) + { + _panelsManager->updateStatusBar(textStatus); + } + + //========================================================================= + + std::string wxGEditorTabPanel::getDiagramScript() + { + return _sceneManager->getDiagramScript(); + } + + //========================================================================= + + void wxGEditorTabPanel::editBlackBox(GBlackBoxModel *bbmodel) + { + _panelsManager->editBlackBox(bbmodel); + } + + //========================================================================= + + void wxGEditorTabPanel::editDiagramParameters(wxVtkSceneManager* scene) + { + _panelsManager->editDiagramParameters(scene); + } + + //========================================================================= + } // EO namespace bbtk // EOF -