X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FEditorGraphicBBS%2FbbsVtkGUIEditorGraphic%2FGConnectorController.cxx;h=924bd62fccad1a0204434ed2ff24203097e2b238;hb=a28e6f908ae524e5ef4b70dba487e88cc525d27c;hp=ce8717aee8991eae3ede989e0d2cc12bb50d8d2d;hpb=547ca8b4d40e607106fe9baae8a6679925d7dd42;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx index ce8717a..924bd62 100644 --- a/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx +++ b/lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/GConnectorController.cxx @@ -36,6 +36,9 @@ Version: $Revision$ #include "GConnectorController.h" +#ifdef _DEBUG +#define new DEBUG_NEW +#endif namespace bbtk { @@ -163,7 +166,7 @@ namespace bbtk { if ( _vtkInteractorStyleBaseView!=NULL ) { - int X,Y,Z=900; + int X, Y, Z=GPOSITION_Z; wxVTKRenderWindowInteractor *wxVTKiren; wxVTKiren = _vtkInteractorStyleBaseView->GetWxVtk3DBaseView()->GetWxVTKRenderWindowInteractor(); wxVTKiren->GetEventPosition(X, Y);