]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.cxx
#3012 creaMaracasVisu Bug New Normal - Update Image in ViewerNV
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkInteractorStyleBaseView2D.cxx
index e077370577783109afb801e0aa48251100750dfc..940b06f5e753af946537df7d990cc280886c075c 100644 (file)
@@ -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
 {