X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2FContour%2FContourCrownWidget.cxx;h=7cb3ac572f084c2cdc082346bb30f172866dbbc2;hb=a8d9eafedaa4430f1b67ffe5b8ca6c925c84f866;hp=8ce8e8e790fa5b27c6ce429f7850b9d022362fd6;hpb=4443a8fe2b4992b6abee8531917fd0803018fc12;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx index 8ce8e8e..7cb3ac5 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/Contour/ContourCrownWidget.cxx @@ -4,7 +4,7 @@ #include #include - +#include "wxVtk2DBaseView.h" //---------------------------------------------------------------------- wxMaracasCoutourTool::wxMaracasCoutourTool(wxWindow *parent, wxVtkBaseView *wxvtkbaseview, vtkImageData* imagedata) @@ -133,7 +133,7 @@ _manContourControl_1->SetModelView( _mContourModel_1 , _mViewContour_1 ); - this->wxvtkbaseview->GetInteractorStyleBaseView()->AddInteractorStyleMaracas( _manContourControl_1 ); + ((vtkInteractorStyleBaseView*)this->wxvtkbaseview->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( _manContourControl_1 ); _manContourControl_1->CreateNewManualContour(); _manContourControl_1->SetActive(false); _mViewContour_1->RefreshContour(); @@ -157,7 +157,7 @@ _manContourControl_2->SetModelView( _mContourModel_2 , _mViewContour_2 ); - this->wxvtkbaseview->GetInteractorStyleBaseView()->AddInteractorStyleMaracas( _manContourControl_2 ); + ((vtkInteractorStyleBaseView*)this->wxvtkbaseview->GetInteractorStyleBaseView())->AddInteractorStyleMaracas( _manContourControl_2 ); _manContourControl_2->CreateNewManualContour(); _manContourControl_2->SetActive(false); _mViewContour_2->RefreshContour();