X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwxvtk%2Fsrc%2FwxVTKRenderWindowInteractor.h;fp=packages%2Fwxvtk%2Fsrc%2FwxVTKRenderWindowInteractor.h;h=230ef5639d02302e93e6ef2ff0c22eca0655fb02;hb=d19c5512748aa8e2dd5c3d01d9ec680ded1f17ce;hp=12f33f88b272156d3ebb14bed6576f387548c589;hpb=088ed2b7bdbe14eb85a7245afaa693ddb7a53a97;p=bbtk.git diff --git a/packages/wxvtk/src/wxVTKRenderWindowInteractor.h b/packages/wxvtk/src/wxVTKRenderWindowInteractor.h index 12f33f8..230ef56 100644 --- a/packages/wxvtk/src/wxVTKRenderWindowInteractor.h +++ b/packages/wxvtk/src/wxVTKRenderWindowInteractor.h @@ -127,7 +127,14 @@ class wxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInter const wxSize &size = wxDefaultSize, long style = wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE, const wxString &name = wxPanelNameStr); + +//EED 2017-01-01 Migration VTK7 +#if VTK_MAJOR_VERSION <= 5 vtkTypeRevisionMacro(wxVTKRenderWindowInteractor,vtkRenderWindowInteractor); +#else + vtkTypeMacro(wxVTKRenderWindowInteractor,vtkRenderWindowInteractor); +#endif + static wxVTKRenderWindowInteractor * New(); void PrintSelf(ostream& os, vtkIndent indent);