]> Creatis software - bbtk.git/blobdiff - packages/wxvtk/src/wxVTKRenderWindowInteractor.cxx
*** empty log message ***
[bbtk.git] / packages / wxvtk / src / wxVTKRenderWindowInteractor.cxx
index a7ac807a4e679172df220de4ea2741b44626e524..17b39bd15be92aecedcc47bbe6648e93404124c8 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/05/09 10:39:47 $
+  Version:   $Revision: 1.2 $
 
   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);
 }
 //---------------------------------------------------------------------------