]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/bbtkwxGUIEditorGraphicBBS.cxx
std::string vs wxString
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / bbtkwxGUIEditorGraphicBBS.cxx
index 9c63350ffa8a46baedc00a0693f337a46ef478ca..f4e7fddcad34b474c2176e1aa557e24d9a52ec83 100644 (file)
@@ -34,6 +34,7 @@ Version:   $Revision$
 */
 
 #include "bbtkwxGUIEditorGraphicBBS.h"
+#include "creaWx.h"
 
 namespace bbtk
 {
@@ -156,7 +157,7 @@ namespace bbtk
        void wxGUIEditorGraphicBBS::initPropertiesPanel()
        {
                _propertiesPanel = new wxPropertiesPanel(this);
-               _frameAUIMgr->AddPane(_propertiesPanel,wxAuiPaneInfo().Right().MinSize(200,200).CloseButton(false).Floatable(false));
+               //_frameAUIMgr->AddPane(_propertiesPanel,wxAuiPaneInfo().Right().MinSize(200,200).CloseButton(false).Floatable(false));
        }
 
        //================================================================
@@ -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));
        }
 
        //=========================================================================