From: trillos Date: Thu, 15 Oct 2009 12:25:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CREATOOLS.2-0-3~144 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=67d2dcb9144ffd014363d22d2dee0b41af023f0c;p=creaMaracasVisu.git *** empty log message *** --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImage.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImage.cxx index d219404..d7db5b3 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImage.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImage.cxx @@ -25,10 +25,12 @@ vtkInfoTextImage::~vtkInfoTextImage() void vtkInfoTextImage::Configure() { - _vtkText_WindowLevel = Create_Text_Label( 10 , 55 ); - _vtkText_ColorLevel = Create_Text_Label( 10 , 40 ); - _vtkText_position = Create_Text_Label( 10 , 25 ); - _vtkText_pixelIntensity = Create_Text_Label( 10 , 10 ); + if(_vtkText_WindowLevel == NULL){ + _vtkText_WindowLevel = Create_Text_Label( 10 , 55 ); + _vtkText_ColorLevel = Create_Text_Label( 10 , 40 ); + _vtkText_position = Create_Text_Label( 10 , 25 ); + _vtkText_pixelIntensity = Create_Text_Label( 10 , 10 ); + } }