//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifdef _USE_WXWIDGETS_ #include "bbwxStaticBox.h" #include "bbwxPackage.h" #include "bbtkUtilities.h" namespace bbwx { BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,StaticBox) BBTK_BLACK_BOX_IMPLEMENTATION(StaticBox,bbtk::WxBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void StaticBox::Process() { } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void StaticBox::CreateWidget(wxWindow* parent) { wxPanel *w=new wxPanel( parent, //bbGetWxParent(), -1 ); w->SetName(bbtk::std2wx(bbGetInputWinTitle())); wxStaticBoxSizer* boxSizer = new wxStaticBoxSizer( wxVERTICAL, w, bbtk::std2wx(bbGetInputBoxTitle()) ); wxWindow* content = bbCreateWidgetOfInput("BoxContent",w); if (content == NULL) { content = new wxPanel(w); } boxSizer->Add(content,1,wxEXPAND); w->SetSizer(boxSizer); boxSizer->Fit(w); bbSetOutputWidget(w); } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void StaticBox::bbUserSetDefaultValues() { bbSetInputBoxTitle(""); bbSetInputBoxContent(NULL); } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void StaticBox::bbUserInitializeProcessing() { } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void StaticBox::bbUserFinalizeProcessing() { } // This callback is necessary to get actual processing of the view // when window is shown void StaticBox::OnShowWidget() { } } // EO namespace bbwx #endif // _USE_WXWIDGETS_