From e785187cf74e53b8bb771614da6bc763448ceb80 Mon Sep 17 00:00:00 2001 From: guigues Date: Tue, 13 Jan 2009 15:38:34 +0000 Subject: [PATCH] Compilation with bbtk 0.9.1 --- bbtk/src/bbCreaContournDimensions.cxx | 6 +++--- bbtk/src/bbCreaContournDimensions.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bbtk/src/bbCreaContournDimensions.cxx b/bbtk/src/bbCreaContournDimensions.cxx index ca0821c..378f0d4 100644 --- a/bbtk/src/bbCreaContournDimensions.cxx +++ b/bbtk/src/bbCreaContournDimensions.cxx @@ -26,7 +26,7 @@ void nDimensions::Process() bbSetOutputMask(mask); bbSetOutputValue(value); } -void nDimensions::CreateWidget() +void nDimensions::CreateWidget(wxWindow* parent) { vtkImageData* img = bbGetInputIn(); @@ -34,7 +34,7 @@ void nDimensions::CreateWidget() std::vector selectedimages; selectedimages.push_back(img); - wxFrame* frame1 = new wxFrame(bbGetWxParent(), wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) ); + wxFrame* frame1 = new wxFrame(parent, wxID_ANY, wxT("ROI Application - Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) ); frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(100,50), wxSize(800, 600), selectedimages ); //new wxContourMainFrame( frame1, wxID_ANY, _T(""), wxPoint(50,50), wxSize(800, 600),selectedimages ); frame1->CreateStatusBar(); @@ -51,7 +51,7 @@ void nDimensions::bbUserConstructor() bbSetInputGet(0); } -void nDimensions::bbUserCopyConstructor() +void nDimensions::bbUserCopyConstructor(bbtk::BlackBox::Pointer) { } diff --git a/bbtk/src/bbCreaContournDimensions.h b/bbtk/src/bbCreaContournDimensions.h index e224b9d..9c3587e 100644 --- a/bbtk/src/bbCreaContournDimensions.h +++ b/bbtk/src/bbCreaContournDimensions.h @@ -26,7 +26,7 @@ class /*BBTK_EXPORT*/ nDimensions /// User callback called in the box contructor virtual void bbUserConstructor(); /// User callback called in the box copy constructor -virtual void bbUserCopyConstructor(); +virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer); /// User callback called in the box destructor virtual void bbUserDestructor(); //================================================================== @@ -36,7 +36,7 @@ virtual void bbUserDestructor(); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); - void CreateWidget(); + void CreateWidget(wxWindow*); BBTK_DECLARE_OUTPUT(Mask,vtkImageData*); BBTK_DECLARE_OUTPUT(Value,vtkImageData*); -- 2.45.2