]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GBlackBoxController.cxx
Bug #1362, Bug #1361
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / GBlackBoxController.cxx
index 0480ece566d47accda9b61f7b89d4adfdac314e5..8c73675eeab4d6779ba589759cdc27d9bc297667 100644 (file)
@@ -36,6 +36,9 @@ Version:   $Revision$
 
 #include "GBlackBoxController.h"
 
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#endif
 namespace bbtk
 {
 
@@ -72,6 +75,7 @@ namespace bbtk
                                {
                                        _view->setState(HIGHLIGHTED);
                                }
+                                               return true; // to avoid to redraw all if nothing
                        } // state
 
                        if( state==HIGHLIGHTED)