]> Creatis software - creaMaracasVisu.git/commitdiff
*** empty log message ***
authortrillos <trillos>
Thu, 15 Oct 2009 12:25:47 +0000 (12:25 +0000)
committertrillos <trillos>
Thu, 15 Oct 2009 12:25:47 +0000 (12:25 +0000)
lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInfoTextImage.cxx

index d219404bc0c4202dfc6cb67fee2cd5dfd546681e..d7db5b3248a9f3669aee87234d6040b8d656032d 100644 (file)
@@ -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 );
+       }
 }