- // Creates the parent window of all bbtk windows as a child of this
- Wx::CreateTopWindow(this,true);
+ // Set the parent window of all bbtk windows as a child of this
+ bbtk::Wx::SetTopWindowParent(this);
+ // Top Window Auto Destroys when no more black box window alive
+ // : this is the default
+ // bbtk::Wx::SetAutoDestroyTopWindow(true);