From e5dd3702826e57ae15d40b8cda521e8ae17d5c57 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Mon, 4 Oct 2010 05:18:13 +0000 Subject: [PATCH] no message --- .../wxWindows/widgets/vtkInteractorStyleBaseView.cxx | 2 +- .../wxWindows/widgets/vtkInteractorStyleBaseView3D.cxx | 3 ++- .../wxWindows/widgets/wxVTKRenderWindowInteractor.cxx | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx index 6ed188a..3a1918b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.cxx @@ -131,7 +131,7 @@ void vtkInteractorStyleBaseView::CallLstInteractorStyleMaracas(int type) for (i=0;iGetControlKey()==1 ){ diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractor.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractor.cxx index 692419a..e337fb6 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractor.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractor.cxx @@ -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; -- 2.45.2