Salome HOME
*** empty log message ***
[modules/gui.git] / src / SVTK / SVTK_ViewWindow.cxx
index ec6fbbede0f373516bb8828c8a3d8cadcf518321..a6d58a5c20a5fec40c50433450464e8b2fda7be5 100755 (executable)
@@ -73,13 +73,15 @@ SVTK_ViewWindow
   // Create an interactor.
   myRWInteractor = SVTK_RenderWindowInteractor::New();
   myRWInteractor->SetRenderWindow( myRenderWindow->getRenderWindow() );
+  myRWInteractor->setViewWindow( this );
 
   SVTK_InteractorStyle* RWS = SVTK_InteractorStyle::New();
   RWS->setGUIWindow( myRenderWindow );
   RWS->setViewWindow( this );
-  myRWInteractor->SetInteractorStyle( RWS ); 
 
+  myRWInteractor->SetInteractorStyle( RWS ); 
   myRWInteractor->Initialize();
+
   RWS->setTriedron( myTrihedron );
   RWS->FindPokedRenderer( 0, 0 );