]> Creatis software - creaMaracasVisu.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Oct 2010 05:18:13 +0000 (05:18 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Mon, 4 Oct 2010 05:18:13 +0000 (05:18 +0000)
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView3D.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractor.cxx

index 6ed188aeb752215aca6d00cb5569d0548f1b4a87..3a1918bb45bdce8289ebb1ba84e02d8a3ac6cd73 100644 (file)
@@ -131,7 +131,7 @@ void vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(int type)
 
        for (i=0;i<size;i++)
        {
-               if (i < _lstInteractorStyleMaracas.size() )
+               if (i < (int)_lstInteractorStyleMaracas.size() )
                {
                        intStyMar = _lstInteractorStyleMaracas[i];
                } else {
index 0b2e7c2265d638a366d3eda0e831bd10b812452c..4b7b592c12c08514b2ddd74316a43759ee6eb1c6 100644 (file)
@@ -103,8 +103,9 @@ void  vtkInteractorStyleBaseView3D::OnMouseMove ()
 
 }
 //---------------------------------------------------------------------------
-void  vtkInteractorStyleBaseView3D::OnLeftButtonDown ()
+void vtkInteractorStyleBaseView3D::OnLeftButtonDown()
 {
+       printf("EED creaMaracasVisu::vtkInteractorStyleBaseView3D::OnLeftButtonDown \n");
        vtkInteractorStyleBaseView::OnLeftButtonDown();
 /*
                if (GetInteractor()->GetControlKey()==1 ){
index 692419ad63be654a4504975c62c30a200dc93f48..e337fb64c7346fc33fb27192ae98eacb52d280b3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   Visualization Toolkit
   Module:    $RCSfile: wxVTKRenderWindowInteractor.cxx,v $
   Language:  C++
-  Date:      $Date: 2010/08/25 17:51:12 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2010/10/04 05:18:13 $
+  Version:   $Revision: 1.5 $
 
   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
   All rights reserved.
@@ -541,6 +541,7 @@ void wxVTKRenderWindowInteractor::OnKeyUp(wxKeyEvent &event)
 //---------------------------------------------------------------------------
 void wxVTKRenderWindowInteractor::OnButtonDown(wxMouseEvent &event)
 {
+       
   if (!Enabled || (ActiveButton != wxEVT_NULL))
     {
     return;