]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuContourVOI.cxx
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuContourVOI.cxx
index 72650fda227145a67d38e48af4db5fdea488e578..2c2929680588edb62af4fdf7ac1a9c3030bdc078 100644 (file)
@@ -109,7 +109,7 @@ void ContourVOI::Process()
 }
 
 //------------------------------------------------------
-void ContourVOI::CreateWidget()
+void ContourVOI::CreateWidget(wxWindow*  parent)
 {  
        bbtkDebugMessageInc("Core",9,"ContourVOI::CreateWidget()"<<std::endl);
   
@@ -122,7 +122,7 @@ void ContourVOI::CreateWidget()
       wxMessageDialog(NULL,  bbtk::std2wx("(ContourVOI) Input 'In' is not set"),  bbtk::std2wx(bbGetFullName()) ).ShowModal();
     }
 
-       wxWidgetVOI *mwxwidget = new wxWidgetVOI( bbGetWxParent(), bbGetInputwxVtkBaseView(), bbGetInputIn() );
+       wxWidgetVOI *mwxwidget = new wxWidgetVOI( parent, bbGetInputwxVtkBaseView(), bbGetInputIn() );
 
        bbSetOutputWidget(mwxwidget);
        bbtkDebugDecTab("Core",9);
@@ -134,7 +134,7 @@ void ContourVOI::bbUserConstructor()
 }
 
 //------------------------------------------------------
-void ContourVOI::bbUserCopyConstructor()
+void ContourVOI::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 }