From: apo Date: Wed, 17 Aug 2005 10:48:35 +0000 (+0000) Subject: To remove unused methods X-Git-Tag: BR-D5-38-2003_D2005-12-09~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea52e143349965685da5d30c06a295168a1b754d;p=modules%2Fgui.git To remove unused methods --- diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index 608265077..966b209f6 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -146,28 +146,11 @@ SVTK_RenderWindowInteractor } // ================================== -void -SVTK_RenderWindowInteractor -::Start() -{ - // - // We do not allow this interactor to control the - // event loop. Only the QtApplication objects are - // allowed to do that. - // - //vtkErrorMacro(<<"SVTK_RenderWindowInteractor::Start() not allowed to start event loop.") ; - return ; -} - void SVTK_RenderWindowInteractor ::UpdateSize(int w, int h) { - // if the size changed send this on to the RenderWindow - if ((w != myInteractor->GetSize()[0])||(h != myInteractor->GetSize()[1])) { - myInteractor->SetSize( w, h ); - getRenderWindow()->SetSize( w, h ); - } + myInteractor->UpdateSize(w,h); } int diff --git a/src/SVTK/SVTK_RenderWindowInteractor.h b/src/SVTK/SVTK_RenderWindowInteractor.h index eea4a8a72..e580626a5 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.h +++ b/src/SVTK/SVTK_RenderWindowInteractor.h @@ -69,12 +69,6 @@ public: // want to have mouse interaction. virtual void Initialize(); - // Description: - // This will start up the X event loop and never return. If you - // call this method it will loop processing X events until the - // application is exited. - virtual void Start(); - // Description: // Event loop notification member for Window size change virtual void UpdateSize(int x,int y);