X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkBaseView.cxx;h=77d384390a912d2156b3bf4e9566c626592a013e;hb=f9901e756bb82bd333310b47607875331616bb29;hp=88ce1acc9cff550f035abb709da43f47e5dd5132;hpb=f658da98570615a244656fc122d935b6fc9a3c65;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx index 88ce1ac..77d3843 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx @@ -45,7 +45,7 @@ wxVtkBaseView::wxVtkBaseView() wxVtkBaseView::wxVtkBaseView(wxWindow *parent) { _parent = parent; - _iren = (wxVTKRenderWindowInteractor*)new wxVTKRenderWindowInteractorPlus(_parent,this); + _iren = (crea::wxVTKRenderWindowInteractor*)new wxVTKRenderWindowInteractorPlus(_parent,this); // _iren->UseCaptureMouseOn(); // _iren = new wxVTKRenderWindowInteractor(_parent,-1); _interactorStyle = NULL; @@ -58,11 +58,12 @@ wxVtkBaseView::~wxVtkBaseView() //_iren=NULL; } //------------------------------------------------------------------- -wxVTKRenderWindowInteractor* wxVtkBaseView::GetWxVTKRenderWindowInteractor() throw (char*) +crea::wxVTKRenderWindowInteractor* wxVtkBaseView::GetWxVTKRenderWindowInteractor() throw (char*) { - if(_iren==NULL){ - throw "wxVtkBaseView::GetWxVTKRenderWindowInteractor() _iren wxVTKRenderWindowInteractorPlus =NULL"; + if(_iren==NULL) + { + throw "wxVtkBaseView::GetWxVTKRenderWindowInteractor() _iren cwxVTKRenderWindowInteractorPlus =NULL"; } return _iren; } @@ -90,9 +91,7 @@ void wxVtkBaseView::Refresh() // virtual //------------------------------------------------------------------- void wxVtkBaseView::RefreshView() // virtual { - printf("EED wxVtkBaseView::RefreshView() \n"); // EED 10 Oct 2007 - #if defined(WIN32) GetRenWin()->Render(); #else