//=========================================================================
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;
//=========================================================================
wxGEditorTabPanel::~wxGEditorTabPanel()
{
- _sceneManager->disconnectDrop();
+printf ("EED %p ~wxGEditorTabPanel()\n" , this );
+//ED02JUIN2010 _sceneManager->disconnectDrop();
}
//=========================================================================
{
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();
}