]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
create custom InteractorStyle.
authorasv <asv@opencascade.com>
Tue, 23 Aug 2005 07:09:52 +0000 (07:09 +0000)
committerasv <asv@opencascade.com>
Tue, 23 Aug 2005 07:09:52 +0000 (07:09 +0000)
src/VVTK/VVTK_ViewWindow.cxx

index cf8937556994f4ddaa3e6621b45953b4ad85edd4..a9c905f0d72e5bef242e25596e45df7c57715fa7 100755 (executable)
@@ -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()));