X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreawxVTKRenderWindowInteractor.h;h=7118318fac73910b0301264da090c0244aebd6a8;hb=fdf9dec759b0aacd36194286d2816e9feafd72ad;hp=0d03187703a6e5ffa978effba9923f04c71481b4;hpb=946e6034021fe462f5a1604e18ea8121afb98a18;p=crea.git diff --git a/src/creawxVTKRenderWindowInteractor.h b/src/creawxVTKRenderWindowInteractor.h index 0d03187..7118318 100644 --- a/src/creawxVTKRenderWindowInteractor.h +++ b/src/creawxVTKRenderWindowInteractor.h @@ -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);