}
//--------------------------------------------------
-void ColorBar::CreateWidget()
+void ColorBar::CreateWidget(wxWindow* parent)
{
// bbSetOutputWidget( new wxStaticText ( bbGetWxParent() , -1 , _T("") ) );
// Process();
bbtkDebugMessageInc("Core",9,"ColorBar::CreateWidget()"<<std::endl);
- mwxwidget = new pColorBar( bbGetWxParent() ,bbGetInputInW(), bbGetInputInH(), bbGetInputOrientation()==1);
+ mwxwidget = new pColorBar( parent ,bbGetInputInW(), bbGetInputInH(), bbGetInputOrientation()==1);
mwxwidget -> setActiveStateTo( true );
mwxwidget -> setRepresentedValues(bbGetInputInMin(), bbGetInputInMax());
mwxwidget -> setDeviceEndMargin(10);
}
//--------------------------------------------------
-void ColorBar::bbUserCopyConstructor()
+void ColorBar::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
{
}