Program: bbtk
Module: $RCSfile: bbwxCommandButton.cxx,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:32 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2008/11/24 15:45:51 $
+ Version: $Revision: 1.12 $
=========================================================================*/
/* ---------------------------------------------------------------------
*
*
*/
- void CommandButton::CreateWidget()
+ void CommandButton::CreateWidget(wxWindow* parent)
{
bbSetOutputWidget
- ( new CommandButtonWidget ( this, bbGetWxParent(),
- bbtk::std2wx(bbGetInputLabel()) ) );
+ ( new CommandButtonWidget ( this, //bbGetWxParent(),
+ parent,
+ bbtk::std2wx(bbGetInputLabel()) ) );
UpdateColour();
}