From 0a4bb77d5281ee5bc6eebd504abae2500cfa780a Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Tue, 31 Mar 2009 07:35:41 +0000 Subject: [PATCH] BUG MACOS --- bbtk/src/bbmaracasvisuViewerMPR.cxx | 10 +++------- .../src/interface/wxWindows/widgets/wxVtkBaseView.cxx | 8 +++++++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/bbtk/src/bbmaracasvisuViewerMPR.cxx b/bbtk/src/bbmaracasvisuViewerMPR.cxx index 246ae62..8375a6e 100644 --- a/bbtk/src/bbmaracasvisuViewerMPR.cxx +++ b/bbtk/src/bbmaracasvisuViewerMPR.cxx @@ -122,18 +122,15 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ViewerMPR) BBTK_BLACK_BOX_IMPLEMENTATION(ViewerMPR,bbtk::WxBlackBox); void ViewerMPR::Process() { -printf("EED ViewerMPR::Process 01\n"); if (wxwidget!=NULL){ wxBusyCursor wait; if(marimagedata==NULL){ wxwidget->setMarImage(new marImageData(bbGetInputIn() )); wxwidget->ConfigureVTK(); - -printf("EED ViewerMPR::Process 02\n"); - wxwidget->wxPanel::Refresh(); - wxwidget->Show(); -// wxwidget->Refresh(); +// wxwidget->wxPanel::Refresh(); + wxwidget->Refresh(); +// wxwidget->Show(); } bbSetOutputPoint( wxwidget->GetPoint() ); bbSetOutputRenderer( wxwidget->GetRenderer() ); @@ -142,7 +139,6 @@ printf("EED ViewerMPR::Process 02\n"); void ViewerMPR::CreateWidget(wxWindow* parent) { -printf("EED ViewerMPR::CreateWidget \n"); bbtkDebugMessageInc("Core",9,"ViewerMPR::CreateWidget() " <Refresh(false); #else - _iren->Render(); + +//EED 01Avril2009 +// _iren->Render(); + vtkRenderWindowInteractor *vri = GetWxVTKRenderWindowInteractor(); + vri->vtkRenderWindowInteractor::Render(); + + //_iren->Refresh(); #endif -- 2.47.1