X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreawxVTKRenderWindowInteractor.cxx;h=4d0091b7fe4b324f24a748c3d2d4a2dac20a9c06;hb=2f22ba400246a1a3841fd1ac1de6b461dc01a022;hp=e8206e72bba407492f56342049e375c6858b5358;hpb=ffbaf4177cae0647c558f89daf6783b91373930d;p=crea.git diff --git a/src/creawxVTKRenderWindowInteractor.cxx b/src/creawxVTKRenderWindowInteractor.cxx index e8206e7..4d0091b 100644 --- a/src/creawxVTKRenderWindowInteractor.cxx +++ b/src/creawxVTKRenderWindowInteractor.cxx @@ -3,8 +3,8 @@ Program: Visualization Toolkit Module: $RCSfile: creawxVTKRenderWindowInteractor.cxx,v $ Language: C++ - Date: $Date: 2008/10/15 11:19:18 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/01/07 12:54:16 $ + Version: $Revision: 1.3 $ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. @@ -15,6 +15,8 @@ PURPOSE. See the above copyright notice for more information. =========================================================================*/ +#ifdef USE_WXWIDGETS +#ifdef USE_VTK #include "creawxVTKRenderWindowInteractor.h" @@ -702,7 +704,7 @@ void creawxVTKRenderWindowInteractor::SetRenderWhenDisabled(int newValue) //resulting in a Render(), resulting in Update() being called whilst //still in progress. - RenderWhenDisabled = (bool)newValue; + RenderWhenDisabled = ((bool)newValue); } //--------------------------------------------------------------------------- // @@ -740,3 +742,5 @@ const char * creawxVTKRenderWindowInteractor::GetClassName() const // LG : EO namespace //======================================================================= +#endif // USE_WX +#endif // USE_VTK