]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/src/wxVTKRenderWindowInteractor.cxx
New widget pipeline processing : should be almost ok
[bbtk.git] / packages / wxvtk / src / wxVTKRenderWindowInteractor.cxx
index a7ac807a4e679172df220de4ea2741b44626e524..6c33bf3484ad8b0a728b2bf0f0d673440e886cb3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   Visualization Toolkit
   Module:    $RCSfile: wxVTKRenderWindowInteractor.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/03/03 13:14:28 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/06/26 18:45:58 $
+  Version:   $Revision: 1.3 $
 
   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
   All rights reserved.
@@ -186,6 +186,7 @@ wxVTKRenderWindowInteractor::wxVTKRenderWindowInteractor(wxWindow *parent,
 wxVTKRenderWindowInteractor::~wxVTKRenderWindowInteractor()
 {   
   // LG : trompe la mort !
+  SetRenderWindow(NULL);
   SetReferenceCount(0);
 }
 //---------------------------------------------------------------------------
@@ -734,6 +735,12 @@ void wxVTKRenderWindowInteractor::PrintSelf(ostream& os, vtkIndent indent)
 }
 
 
+void wxVTKRenderWindowInteractor::Refresh(bool eraseBackground , const wxRect* rect )
+{
+//  wxWindow::Refresh(false,rect);
+}
+
+
 #if defined(_WIN32)
 const char * wxVTKRenderWindowInteractor::GetClassName() const
 {
@@ -741,6 +748,8 @@ const char * wxVTKRenderWindowInteractor::GetClassName() const
 }
 #endif //_WIN32
 
+
+
 }
 // LG : EO namespace bbwxvtk
 //=======================================================================