}
//---------------------------------------------------
-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
//---------------------------------------------------
void PlotterView::bbUserConstructor()
{
+ mwxwidget = NULL;
}
//---------------------------------------------------
-void PlotterView::bbUserCopyConstructor()
+void PlotterView::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
{
}