]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
Change of wxDialog name to wxBlackBoxEditionDialog ... It is better to have two diffe...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index bea7df0f96c42e0b36e4405c92f0b3e81192ab22..7d6beada6e4cf14ab70541b74820a42d2666d89b 100644 (file)
@@ -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)
+       {
+               wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,bbmodel);
+               dialog->Show();
+       }
+
+       //=========================================================================
+
+       void wxGUIEditorGraphicBBS::editDiagramParameters(wxVtkSceneManager* scene)
+       {
+               wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,scene);
+               dialog->Show();
+       }
+
+       //=========================================================================
+
        void wxGUIEditorGraphicBBS::updateStatusBar(std::string textStatus)
        {
-               SetStatusText(_T(textStatus));
+               SetStatusText(crea::std2wx(textStatus));
        }
 
        //=========================================================================