From: pkv Date: Wed, 12 Oct 2005 12:05:24 +0000 (+0000) Subject: Avoid the native vtkInteractorStyle tretment of OnChar event X-Git-Tag: BR-D5-38-2003_D2005-12-10~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ece874fc8cff93444c44622e34293ce15143961;p=modules%2Fgui.git Avoid the native vtkInteractorStyle tretment of OnChar event --- 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();