From 5ece874fc8cff93444c44622e34293ce15143961 Mon Sep 17 00:00:00 2001 From: pkv Date: Wed, 12 Oct 2005 12:05:24 +0000 Subject: [PATCH] Avoid the native vtkInteractorStyle tretment of OnChar event --- src/SVTK/SVTK_InteractorStyle.cxx | 4 ++++ src/SVTK/SVTK_InteractorStyle.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index a1278dd35..6e764a394 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -1318,3 +1318,7 @@ SVTK_InteractorStyle Superclass::ProcessEvents( object, event, clientData, callData ); } +//---------------------------------------------------------------------------- +void SVTK_InteractorStyle::OnChar() +{ +} diff --git a/src/SVTK/SVTK_InteractorStyle.h b/src/SVTK/SVTK_InteractorStyle.h index e229a12c8..bfdd9d767 100644 --- a/src/SVTK/SVTK_InteractorStyle.h +++ b/src/SVTK/SVTK_InteractorStyle.h @@ -130,6 +130,10 @@ class SVTK_EXPORT SVTK_InteractorStyle: public vtkInteractorStyle void OnRightButtonUp(); + virtual + void + OnChar(); + protected: SVTK_InteractorStyle(); ~SVTK_InteractorStyle(); -- 2.39.2