]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxTabPanelsManager.cxx
Updated Version with the moving of the objects updated and the background doesn't...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxTabPanelsManager.cxx
index f34682c4533e8d5ba88921b19c4870ea4a9d834d..6f1ee930aafa75ad0575aeedd98c6a2d43c01a4e 100644 (file)
@@ -42,10 +42,11 @@ namespace bbtk
 
 
        //=========================================================================
-       wxTabPanelsManager::wxTabPanelsManager(wxAuiNotebook *notebook)
+       wxTabPanelsManager::wxTabPanelsManager(wxGUIEditorGraphicBBS *parent)
        {
+               _parent = parent;
                _lastId = 0;
-               _notebook = notebook;
+               _notebook = _parent->getAuiNotebook();
                addNewTab();
        }
 
@@ -60,6 +61,7 @@ namespace bbtk
                _lastId++;              
 
                wxGEditorTabPanel *newPanel = new wxGEditorTabPanel(_notebook,_lastId);
+               newPanel->setPanelsManager(this);
                _panels[_lastId]=newPanel;
                _actual = newPanel;
 
@@ -78,6 +80,15 @@ namespace bbtk
                return _actual;
        }
 
+       //=========================================================================
+
+       void wxTabPanelsManager::displayBlackBoxInfo(std::string packageName, std::string boxName)
+       {
+               _parent->displayBlackBoxInfo(packageName,boxName);
+       }
+
+       //=========================================================================
+
        /*****************************************************
        /* HANDLERS 
        /*****************************************************/