]> Creatis software - creaContours.git/commitdiff
#3394 mprbasedata SetXYZ withObserver vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 16:46:48 +0000 (17:46 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 20 Dec 2024 16:46:48 +0000 (17:46 +0100)
lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx

index 7bd55c5d098c85f8ef72792d2133ae3d9c587663..ea57095e0669edb0bd261db60ad4608808ad18f0 100644 (file)
@@ -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);
        }
 
        //------------------------------------------------------------------------------------------------------------