]> Creatis software - bbtkGEditor.git/commitdiff
#2492 bbGEditor Bug New Normal - Changement of creaMaracasVisu deffinition
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Thu, 18 Dec 2014 14:53:32 +0000 (15:53 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Thu, 18 Dec 2014 14:53:32 +0000 (15:53 +0100)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx

index 42f0f580d87e398bcc1de7efea11e1a788404b6a..a2540728315b2f27bb3d3a7c3c100f5ae13503e9 100644 (file)
@@ -75,7 +75,7 @@ namespace bbtk
        wxGEditorTabPanel::wxGEditorTabPanel(wxWindow *parent,int id, Factory::Pointer bbtkfactory)
         : wxPanel(parent),wxTextDropTarget()
        {
-               _id=id;
+               _id                             = id;
                _panelAUIMgr    = new wxAuiManager(this);
                _sceneManager   = NULL;
                _actualdo               = states.begin();
@@ -89,7 +89,7 @@ namespace bbtk
        {
 //ED02JUIN2010         _sceneManager->disconnectDrop();
 
-        _panelsManager->VerifyLastTabPanel();
+      _panelsManager->VerifyLastTabPanel();
                //FCY memory leaks
                delete _panelAUIMgr;
                delete _sceneManager;
@@ -98,7 +98,7 @@ namespace bbtk
        //=========================================================================
        void wxGEditorTabPanel::initWxVtkCanvas()
        {
-               wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this);
+               wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this,NULL);
                baseview->Configure();
 //EED 07 juin 2013
                baseview->GetCamera()->SetViewUp (0, 1, 0);