X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreawxVTKRenderWindowInteractor.h;h=bb61401d9ceabe1b61d5686a3e186b2480f146ed;hb=6621cea2f494bd58d194e3165a5fdb1981025583;hp=db0187dca8f3db139a3c986802e934056d16e7d5;hpb=23e9509fe3c71033515d60b110a84f2310d8f082;p=crea.git diff --git a/src/creawxVTKRenderWindowInteractor.h b/src/creawxVTKRenderWindowInteractor.h index db0187d..bb61401 100644 --- a/src/creawxVTKRenderWindowInteractor.h +++ b/src/creawxVTKRenderWindowInteractor.h @@ -3,8 +3,8 @@ Program: Visualization Toolkit Module: $RCSfile: creawxVTKRenderWindowInteractor.h,v $ Language: C++ - Date: $Date: 2011/02/17 11:02:08 $ - Version: $Revision: 1.4 $ + Date: $Date: 2011/02/22 08:26:24 $ + Version: $Revision: 1.7 $ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. @@ -40,6 +40,8 @@ #ifdef USE_WXWIDGETS #ifdef USE_VTK +#include +#include // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -95,9 +97,9 @@ namespace crea #if defined(__WXGTK__) && defined(USE_WXGLCANVAS) -class creawxVTKRenderWindowInteractor : public wxGLCanvas, public vtkRenderWindowInteractor +class CREA_EXPORT creawxVTKRenderWindowInteractor : public wxGLCanvas, virtual public vtkRenderWindowInteractor #else -class creawxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInteractor +class CREA_EXPORT creawxVTKRenderWindowInteractor : virtual public vtkRenderWindowInteractor, public wxWindow #endif //__WXGTK__ { DECLARE_DYNAMIC_CLASS(creawxVTKRenderWindowInteractor) @@ -112,7 +114,7 @@ class creawxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowI const wxSize &size = wxDefaultSize, long style = wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE, const wxString &name = wxPanelNameStr); - vtkTypeRevisionMacro(creawxVTKRenderWindowInteractor,vtkRenderWindowInteractor); + //EED win Compilation why ??: vtkTypeRevisionMacro(creawxVTKRenderWindowInteractor,vtkRenderWindowInteractor); static creawxVTKRenderWindowInteractor * New(); void PrintSelf(ostream& os, vtkIndent indent);