]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerMPR.cxx
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerMPR.cxx
index 893932dd2bf47345f719354fb15c97afcb96f212..bbb2adbe37f3367842e3341e623321ee846b0d80 100644 (file)
@@ -83,8 +83,7 @@ END_EVENT_TABLE( );
                point.push_back((int)wxwidget->GetVtkMPRBaseData()->GetY());
                point.push_back((int)wxwidget->GetVtkMPRBaseData()->GetZ());
                mbbViewerMPR->bbSetOutputPoint( GetPoint() );
-               mbbViewerMPR->bbSetModifiedStatus();
-               mbbViewerMPR->bbSignalOutputModification("Point");    
+               mbbViewerMPR->bbSignalOutputModification(std::string("Point"));    
                wxwidget->RefreshView();
          }
   }
@@ -115,12 +114,12 @@ void ViewerMPR::Process()
                bbSetOutputRenderer( mwxwidgetmpr->GetRenderer() );  
 }
 
-void ViewerMPR::CreateWidget()
+void ViewerMPR::CreateWidget(wxWindow* parent)
 {
        bbtkDebugMessageInc("Core",9,"ViewerMPR::CreateWidget() " <<std::endl);
        marImageData    *marimagedata = new marImageData(bbGetInputIn() );
        bbtkDebugDecTab("Core",9);
-       mwxwidgetmpr = new wxWidgetMPR(this , bbGetWxParent() ,marimagedata);
+       mwxwidgetmpr = new wxWidgetMPR(this , parent ,marimagedata);
        bbSetOutputWidget( mwxwidgetmpr );
 }
 
@@ -128,7 +127,7 @@ void ViewerMPR::bbUserConstructor()
 {
                bbSetInputIn(NULL);
 }
-void ViewerMPR::bbUserCopyConstructor()
+void ViewerMPR::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 
 }