From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 20 Dec 2024 16:46:48 +0000 (+0100) Subject: #3394 mprbasedata SetXYZ withObserver X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=refs%2Fheads%2Fvtk9itk5wx3-macos;p=creaContours.git #3394 mprbasedata SetXYZ withObserver --- diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx index 7bd55c5..ea57095 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx @@ -227,8 +227,8 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE ) //------------------------------------------------------------------------------------------------------------ void wxContourViewPanel::SetXY(int x, int y) { - GetwxVtkMPR2DView()->GetVtkmprbasedata()->SetX(x); - GetwxVtkMPR2DView()->GetVtkmprbasedata()->SetY(y); + GetwxVtkMPR2DView()->GetVtkmprbasedata()->SetX(x,false); + GetwxVtkMPR2DView()->GetVtkmprbasedata()->SetY(y,true); } //------------------------------------------------------------------------------------------------------------