X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkInteractorStyleBaseView2D.cxx;h=940b06f5e753af946537df7d990cc280886c075c;hb=b80b4dcc301c1c2c63c0f76cd06b0a434350f7a7;hp=e077370577783109afb801e0aa48251100750dfc;hpb=97dee12beaba08089198ed7bab9544b8b4c4f240;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx index e077370..940b06f 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx @@ -71,7 +71,8 @@ void vtkInteractorStyleBaseView2D::OnRightButtonDown() // virtual { vtkInteractorStyleBaseView::OnRightButtonDown(); - if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){ + if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ) + { this->vtkInteractorStyleImage::OnRightButtonDown(); } } @@ -82,12 +83,14 @@ void vtkInteractorStyleBaseView2D::OnRightButtonUp() // virtual vtkInteractorStyleBaseView::OnRightButtonUp(); this->vtkInteractorStyleImage::OnRightButtonUp(); } + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnMouseMove () // virtual { vtkInteractorStyleBaseView::OnMouseMove(); this->vtkInteractorStyleImage::OnMouseMove(); } + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnLeftButtonDown() // virtual { @@ -98,6 +101,7 @@ void vtkInteractorStyleBaseView2D::OnLeftButtonDown() // virtual this->vtkInteractorStyleImage::OnLeftButtonDown(); } } + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnLeftButtonUp () // virtual { @@ -105,6 +109,7 @@ void vtkInteractorStyleBaseView2D::OnLeftButtonUp () // virtual this->vtkInteractorStyleImage::OnLeftButtonUp(); } + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnMiddleButtonDown () // virtual { @@ -115,6 +120,7 @@ void vtkInteractorStyleBaseView2D::OnMiddleButtonDown () // virtual this->vtkInteractorStyleImage::OnLeftButtonDown(); } } + //--------------------------------------------------------------------------- void vtkInteractorStyleBaseView2D::OnMiddleButtonUp () // virtual {