]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxGEditorTabPanel.cxx
no message
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxGEditorTabPanel.cxx
index bf67893b2b439232c248e0baa639a71baba26800..53f6204a248e40dfd4523bc242d2897aa6647c17 100644 (file)
@@ -82,7 +82,7 @@ printf ("EED %p ~wxGEditorTabPanel()\n" , this );
        bool wxGEditorTabPanel::OnDropText(wxCoord x, wxCoord y, const wxString& data)
        {
                std::string packageName="";
-               std::string boxName="";
+               std::string boxType="";
 
                wxString foo( (data) );
                char str[150];
@@ -94,9 +94,9 @@ printf ("EED %p ~wxGEditorTabPanel()\n" , this );
                 packageName += result;
                 
                 result = strtok( NULL, delims );
-                boxName += result;
+                boxType += result;
                 
-               _sceneManager->createGBlackBox(x,y,packageName, boxName);
+               _sceneManager->createGBlackBox(x,y,packageName, boxType);
 
          return true;
        }
@@ -229,6 +229,13 @@ printf ("EED %p ~wxGEditorTabPanel()\n" , this );
 
        //=========================================================================     
 
+       
+       wxVtkSceneManager* wxGEditorTabPanel::getSceneManager()
+       {
+               return _sceneManager;
+       }
+       
+       
 }  // EO namespace bbtk
 
 // EOF