//=========================================================================
wxGEditorTabPanel::wxGEditorTabPanel(wxWindow *parent,int id):wxPanel(parent),wxTextDropTarget()
{
-printf("EED wxGEditorTabPanel::wxGEditorTabPanel 0\n");
printf ("EED %p wxGEditorTabPanel 2 ()\n" , this );
_id=id;
_panelAUIMgr = new wxAuiManager(this);
_sceneManager = NULL;
initWxVtkCanvas();
-printf("EED wxGEditorTabPanel::wxGEditorTabPanel 1\n");
}
//=========================================================================
//=========================================================================
void wxGEditorTabPanel::initWxVtkCanvas()
{
-printf("EED wxGEditorTabPanel::initWxVtkCanvas 0\n");
wxVtk3DBaseView *baseview = new wxVtk3DBaseView(this);
baseview->Configure();
_sceneManager=new wxVtkSceneManager(this,baseview,_id);
_panelAUIMgr->AddPane((wxWindow*)baseview->GetWxVTKRenderWindowInteractor(),wxAuiPaneInfo().Fixed().CenterPane());
_panelAUIMgr->Update();
-printf("EED wxGEditorTabPanel::initWxVtkCanvas 1\n");
}
//=========================================================================