X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FcreawxVTKRenderWindowInteractor.cxx;fp=src%2FcreawxVTKRenderWindowInteractor.cxx;h=061d926f65db8cdf837e0d21535bc5f8bc58c25b;hb=b36a1c8d0260c696c391519b2daa73c18690fb86;hp=eeb123ac24518c34b792ddacf7f722fd62a88dbc;hpb=4473ea5e5ba7bf275cbafbadf81cd82d04917850;p=crea.git diff --git a/src/creawxVTKRenderWindowInteractor.cxx b/src/creawxVTKRenderWindowInteractor.cxx index eeb123a..061d926 100644 --- a/src/creawxVTKRenderWindowInteractor.cxx +++ b/src/creawxVTKRenderWindowInteractor.cxx @@ -3,8 +3,8 @@ Program: Visualization Toolkit Module: $RCSfile: creawxVTKRenderWindowInteractor.cxx,v $ Language: C++ - Date: $Date: 2011/07/12 09:38:09 $ - Version: $Revision: 1.8 $ + Date: $Date: 2011/07/22 17:42:59 $ + Version: $Revision: 1.9 $ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. @@ -139,7 +139,7 @@ BEGIN_EVENT_TABLE(creawxVTKRenderWindowInteractor, wxWindow) EVT_SIZE (creawxVTKRenderWindowInteractor::OnSize) END_EVENT_TABLE() -//EED win Compilation why??: vtkCxxRevisionMacro(creawxVTKRenderWindowInteractor, "$Revision: 1.8 $") +//EED win Compilation why??: vtkCxxRevisionMacro(creawxVTKRenderWindowInteractor, "$Revision: 1.9 $") vtkInstantiatorNewMacro(creawxVTKRenderWindowInteractor) //--------------------------------------------------------------------------- @@ -388,7 +388,7 @@ void creawxVTKRenderWindowInteractor::OnPaint(wxPaintEvent& WXUNUSED(event)) rwin->UpdateContext(); } #else - // This solves a problem with repainting after a window resize + // This solves a problem with repainting after a window resize // See also: http://sourceforge.net/mailarchive/forum.php?thread_id=31690967&forum_id=41789 vtkCarbonRenderWindow* rwin = vtkCarbonRenderWindow::SafeDownCast(RenderWindow); if( rwin ) @@ -396,6 +396,7 @@ void creawxVTKRenderWindowInteractor::OnPaint(wxPaintEvent& WXUNUSED(event)) rwin->UpdateGLRegion(); } #endif + #endif } //---------------------------------------------------------------------------