]> Creatis software - crea.git/blobdiff - src/creawxVTKRenderWindowInteractor.h
boost libraries
[crea.git] / src / creawxVTKRenderWindowInteractor.h
index db0187dca8f3db139a3c986802e934056d16e7d5..bb61401d9ceabe1b61d5686a3e186b2480f146ed 100644 (file)
@@ -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 <creaSystem.h>
+#include <creaWx.h>
 
 // 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);