X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkInteractorStyleBaseView.cxx;h=012e2d9a46f4e1b65101660a93a4c3636756b6c2;hb=5380f9e66daf440f27f33bb060e5ae1a646612cd;hp=89aee7044a585291e338a9306db000adccbc0f12;hpb=eb653a89f177ee41fda8720ec32bfbf3aa57255e;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx index 89aee70..012e2d9 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx @@ -78,23 +78,15 @@ void vtkInteractorStyleBaseView::OnRightDClick() // virtual { CallLstInteractorStyleMaracas( 12 ); } -//--------------------------------------------------------------------------- -//EED27Juillet2011 -void vtkInteractorStyleBaseView::OnMouseWheel() // virtual -{ - printf("EED vtkInteractorStyleBaseView::OnMouseWheel\n"); - CallLstInteractorStyleMaracas( 14 ); -} + void vtkInteractorStyleBaseView::OnMouseWheelForward() // virtual { - printf("EED.. vtkInteractorStyleBaseView::OnMouseWheelForward\n"); CallLstInteractorStyleMaracas( 15 ); } void vtkInteractorStyleBaseView::OnMouseWheelBackward() // virtual { - printf("EED.. vtkInteractorStyleBaseView::OnMouseWheelBackward\n"); CallLstInteractorStyleMaracas( 16 ); } @@ -236,15 +228,7 @@ void vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(int type) i=size; } } - - //EED ????? 27Juillet2011 - if (type==14) - { // OnMouseWheel - if (intStyMar->OnMouseWheel()==false) - { - i=size; - } - } + // 14 ... old OnMouseWheelFordward if (type==15) { // OnMouseWheelForward if (intStyMar->OnMouseWheelForward()==false)