]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuColorBar.cxx
Error correction
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuColorBar.cxx
index 7b39dd827b109b305021d27567f900ac00c74d68..5bea9635d122dbabafc27913579266ff3165c102 100644 (file)
@@ -12,12 +12,12 @@ void ColorBar::Process()
 }
 
 //--------------------------------------------------
-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);
@@ -53,7 +53,7 @@ void ColorBar::bbUserConstructor()
 }
 
 //--------------------------------------------------
-void ColorBar::bbUserCopyConstructor()
+void ColorBar::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 }