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/10/05 19:41:56 $
+ Version: $Revision: 1.5 $
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
+#ifdef USE_WXWIDGETS
+#ifdef USE_VTK
#include "creawxVTKRenderWindowInteractor.h"
#if defined(__WXGTK__) && defined(USE_WXGLCANVAS)
: vtkRenderWindowInteractor(), wxGLCanvas(parent, id, pos, size, style, name)
#else
- : vtkRenderWindowInteractor(), wxWindow(parent, id, pos, size, style, name)
+ : wxWindow(parent, id, pos, size, style, name), vtkRenderWindowInteractor()
#endif //__WXGTK__
, timer(this, ID_creawxVTKRenderWindowInteractor_TIMER)
, ActiveButton(wxEVT_NULL)
//resulting in a Render(), resulting in Update() being called whilst
//still in progress.
- RenderWhenDisabled = (bool)newValue;
+ RenderWhenDisabled = (bool)(newValue!=0);
}
//---------------------------------------------------------------------------
//
// LG : EO namespace
//=======================================================================
+#endif // USE_WX
+#endif // USE_VTK