]> Creatis software - crea.git/blobdiff - src/creawxVTKRenderWindowInteractor.h
#3374 creaBug New Normal - vtk8itk5wx3-mingw64
[crea.git] / src / creawxVTKRenderWindowInteractor.h
index 0d03187703a6e5ffa978effba9923f04c71481b4..7118318fac73910b0301264da090c0244aebd6a8 100644 (file)
@@ -97,6 +97,9 @@
 # error This GUI is not supported by wxVTKRenderWindowInteractor for now
 #endif
 
+#include "creaSystem.h"
+
+
 // wx forward declarations
 class wxPaintEvent;
 class wxMouseEvent;
@@ -113,7 +116,7 @@ namespace crea
 #if defined(__WXGTK__) && defined(USE_WXGLCANVAS)
 class wxVTKRenderWindowInteractor : public wxGLCanvas, public vtkRenderWindowInteractor
 #else
-class wxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInteractor
+class CREA_EXPORT wxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInteractor
 #endif //__WXGTK__
 {
 //EED 2017-09-16 Migration wxWidgets 2.8 to 3.0
@@ -133,7 +136,7 @@ class wxVTKRenderWindowInteractor : public wxWindow, public vtkRenderWindowInter
                                 const wxSize &size = wxDefaultSize,
                                 long style = wxWANTS_CHARS | wxNO_FULL_REPAINT_ON_RESIZE,
                                 const wxString &name = wxPanelNameStr);
-    vtkTypeRevisionMacro(wxVTKRenderWindowInteractor,vtkRenderWindowInteractor);
+  //EED win Compilation why ??:    vtkTypeRevisionMacro(wxVTKRenderWindowInteractor,vtkRenderWindowInteractor);
     static wxVTKRenderWindowInteractor * New();
     void PrintSelf(ostream& os, vtkIndent indent);