]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuPlotterView.cxx
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuPlotterView.cxx
index 4c60cf3d1af541e62652c4fcde7ce579a9795186..cee80abbc03277a852ce4e810d114ceffa0199de 100644 (file)
@@ -17,10 +17,10 @@ void PlotterView::Process()
 }
 
 //---------------------------------------------------
-void PlotterView::CreateWidget()
+void PlotterView::CreateWidget(wxWindow* parent)
 {
     bbtkDebugMessageInc("Core",9,"PlotterView::CreateWxWindow()"<<std::endl);
-               mwxwidget = new pPlotterWindow(  bbGetWxParent() , -1,wxDefaultPosition,  wxDefaultSize,  0 );
+               mwxwidget = new pPlotterWindow( parent , -1,wxDefaultPosition,  wxDefaultSize,  0 );
                mwxwidget->AddLayer(new pPlotterScaleX());
                mwxwidget->AddLayer(new pPlotterScaleY());
                pGraphicalFunction *pGF = mwxwidget->getFunctionForVectors( &(bbGetInputInX()), &(bbGetInputInY()) ); // taking address of temporary ! JPRx
@@ -33,10 +33,11 @@ void PlotterView::CreateWidget()
 //---------------------------------------------------
 void PlotterView::bbUserConstructor()
 {
+       mwxwidget = NULL;
 }
 
 //---------------------------------------------------
-void PlotterView::bbUserCopyConstructor()
+void PlotterView::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 }