X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuPlotterView.cxx;h=cee80abbc03277a852ce4e810d114ceffa0199de;hb=bf403544fe90a939c6a988f2c06ead7f4738d545;hp=39e76a3675a37323169e2b6d93f6c3c329e698bb;hpb=8e7ab74a199d1f05b01dccfb75da7f2c4754ddc5;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuPlotterView.cxx b/bbtk/src/bbmaracasvisuPlotterView.cxx index 39e76a3..cee80ab 100644 --- a/bbtk/src/bbmaracasvisuPlotterView.cxx +++ b/bbtk/src/bbmaracasvisuPlotterView.cxx @@ -1,14 +1,14 @@ #include "bbmaracasvisuPlotterView.h" -#include "bbmaracasvisuPackage.h" +#include "bbcreaMaracasVisuPackage.h" #include "pPlotterScaleX.h" #include "pPlotterScaleY.h" -namespace bbmaracasvisu +namespace bbcreaMaracasVisu { -BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,PlotterView) +BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PlotterView) BBTK_BLACK_BOX_IMPLEMENTATION(PlotterView,bbtk::WxBlackBox); //--------------------------------------------------- @@ -17,10 +17,10 @@ void PlotterView::Process() } //--------------------------------------------------- -void PlotterView::CreateWidget() +void PlotterView::CreateWidget(wxWindow* parent) { bbtkDebugMessageInc("Core",9,"PlotterView::CreateWxWindow()"<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) { } @@ -46,6 +47,6 @@ void PlotterView::bbUserDestructor() } } -// EO namespace bbmaracasvisu +// EO namespace bbcreaMaracasVisu