EVT_SIZE (wxVTKRenderWindowInteractor::OnSize)
END_EVENT_TABLE()
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
vtkCxxRevisionMacro(wxVTKRenderWindowInteractor, "$Revision: 1.7 $")
+#else
+ //...
+#endif
vtkInstantiatorNewMacro(wxVTKRenderWindowInteractor)
//---------------------------------------------------------------------------
this->RenderWindow = NULL;
this->SetRenderWindow(vtkRenderWindow::New());
this->RenderWindow->Delete();
+ this->SetBackgroundStyle( wxBG_STYLE_COLOUR );
+ this->SetBackgroundColour( wxColor(0,0,0,0) );
}
//---------------------------------------------------------------------------
wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor(wxWindow *parent,
// so we update the size information of the interactor/renderwindow here
this->UpdateSize(size.x, size.y);
#endif
+ this->SetBackgroundStyle( wxBG_STYLE_COLOUR );
+ this->SetBackgroundColour( wxColor(0,0,0,0) );
}
//---------------------------------------------------------------------------
wxVTKRenderWindowInteractor::~wxVTKRenderWindowInteractor()