]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx
Documentation of the wxLibrary and kernelLibrary
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.cxx
index 03e14151715a2775c3fb65ee84f92dbbed0551b8..bf67893b2b439232c248e0baa639a71baba26800 100644 (file)
@@ -43,11 +43,13 @@ namespace bbtk
        //=========================================================================
        wxGEditorTabPanel::wxGEditorTabPanel()
        {
+               printf ("EED %p wxGEditorTabPanel 1 ()\n" , this );
        }
 
        //=========================================================================
        wxGEditorTabPanel::wxGEditorTabPanel(wxWindow *parent,int id):wxPanel(parent),wxTextDropTarget()
        {
+               printf ("EED %p wxGEditorTabPanel 2 ()\n" , this );
                _id=id;
                _panelAUIMgr = new wxAuiManager(this);
                _sceneManager = NULL;
@@ -57,7 +59,8 @@ namespace bbtk
        //=========================================================================
        wxGEditorTabPanel::~wxGEditorTabPanel()
        {
-               _sceneManager->disconnectDrop();
+printf ("EED %p ~wxGEditorTabPanel()\n" , this );
+//ED02JUIN2010         _sceneManager->disconnectDrop();
        }
        
        //=========================================================================
@@ -65,10 +68,12 @@ namespace bbtk
        {
                wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this);
                baseview->Configure();
-
                _sceneManager=new wxVtkSceneManager(this,baseview,_id);
 
+               printf("RaC-EED 21-06-2010 wxGEditorTabPanel::initWxVtkCanvas Remove the panelAUIMgr, and change to a normal sizer inside the wxGEditorTabPanel\n");
                _panelAUIMgr->AddPane((wxWindow*)baseview->GetWxVTKRenderWindowInteractor(),wxAuiPaneInfo().Fixed().CenterPane());
+//EED02JUIN2010
+
                _panelAUIMgr->Update();
        }
 
@@ -138,13 +143,6 @@ namespace bbtk
                _panelsManager->editBlackBox(bbmodel);
        }
 
-       //=========================================================================
-       
-       void wxGEditorTabPanel::editDiagramParameters(wxVtkSceneManager* scene)
-       {
-               _panelsManager->editDiagramParameters(scene);
-       }
-
        //=========================================================================
 
        void wxGEditorTabPanel::deleteAllBoxes()