From: asv Date: Tue, 23 Aug 2005 07:09:52 +0000 (+0000) Subject: create custom InteractorStyle. X-Git-Tag: BR-D5-38-2003_D2005-12-09~108 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34f458df78dd454e232a96244bb959b1f5b68470;p=modules%2Fvisu.git create custom InteractorStyle. --- diff --git a/src/VVTK/VVTK_ViewWindow.cxx b/src/VVTK/VVTK_ViewWindow.cxx index cf893755..a9c905f0 100755 --- a/src/VVTK/VVTK_ViewWindow.cxx +++ b/src/VVTK/VVTK_ViewWindow.cxx @@ -2,13 +2,15 @@ #include "VVTK_ViewModel.h" #include "VVTK_InteractorStyle.h" +#include "SVTK_View.h" + //---------------------------------------------------------------------------- VVTK_ViewWindow ::VVTK_ViewWindow( SUIT_Desktop* theDesktop, VVTK_Viewer* theModel ) : SVTK_ViewWindow( theDesktop, theModel ) { - pushInteractorStyle( VVTK_InteractorStyle::New() ); + getView()->pushInteractorStyle( VVTK_InteractorStyle::New() ); connect(this,SIGNAL(selectionChanged()), theModel,SLOT(onSelectionChanged()));