From 34f458df78dd454e232a96244bb959b1f5b68470 Mon Sep 17 00:00:00 2001 From: asv Date: Tue, 23 Aug 2005 07:09:52 +0000 Subject: [PATCH] create custom InteractorStyle. --- src/VVTK/VVTK_ViewWindow.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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())); -- 2.39.2