Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/02/05 13:23:46 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2008/02/06 11:31:39 $
+ Version: $Revision: 1.5 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
bbmWindow = 0;
// bbmWidget = 0;
// bbSetInputWinParent(0);
- bbSetInputWinTitle("...");
+ bbSetInputWinTitle(bbGetName());
bbSetInputWinWidth(800);
bbSetInputWinHeight(800);
bbSetInputWinDialog(false);
delete bbGetWidgetEventHandler();
new WxBlackBoxWidgetEventHandler(this,bbGetOutputWidget());
}
+ // Sets the name of the wxWindow to the input WinTitle
+ bbGetOutputWidget()->SetName(bbtk::std2wx(bbGetInputWinTitle()));
}
// If the output 'Widget' is connected then it's gonna
Program: bbtk
Module: $RCSfile: bbwxSlider.cxx,v $
Language: C++
- Date: $Date: 2008/02/05 18:05:32 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/02/06 11:31:40 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//--------------------------------------------------------------------------
void Slider::bbUserConstructor()
{
- bbSetInputWinTitle("Slider");
+ // bbSetInputWinTitle("Slider");
bbSetInputIn(0);
bbSetInputMin(0);
bbSetInputMax(500);
bbGetInputIn(),
bbGetInputReactiveOnTrack()
);
- w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
+ // w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
bbSetOutputWidget( w );
}