X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsWxGUIEditorGraphic%2FbbtkwxGUIEditorGraphicBBS.cxx;h=f4e7fddcad34b474c2176e1aa557e24d9a52ec83;hb=a62e394e0f56bb5adff696adf06be425680bddca;hp=bea7df0f96c42e0b36e4405c92f0b3e81192ab22;hpb=062ee1e352a911991a120c5bf95ba836a6b0871b;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx index bea7df0..f4e7fdd 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx @@ -34,6 +34,7 @@ Version: $Revision$ */ #include "bbtkwxGUIEditorGraphicBBS.h" +#include "creaWx.h" namespace bbtk { @@ -278,9 +279,25 @@ namespace bbtk //========================================================================= + void wxGUIEditorGraphicBBS::editBlackBox(GBlackBoxModel *bbmodel) + { + wxEditionDialog* dialog = new wxEditionDialog(this,bbmodel); + dialog->Show(); + } + + //========================================================================= + + void wxGUIEditorGraphicBBS::editDiagramParameters(wxVtkSceneManager* scene) + { + wxEditionDialog* dialog = new wxEditionDialog(this,scene); + dialog->Show(); + } + + //========================================================================= + void wxGUIEditorGraphicBBS::updateStatusBar(std::string textStatus) { - SetStatusText(_T(textStatus)); + SetStatusText(crea::std2wx(textStatus)); } //=========================================================================