2 // 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)
6 #include "bbwxStaticBox.h"
7 #include "bbwxPackage.h"
8 #include "bbtkUtilities.h"
12 BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,StaticBox)
13 BBTK_BLACK_BOX_IMPLEMENTATION(StaticBox,bbtk::WxBlackBox);
15 // 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)
17 void StaticBox::Process()
22 // 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)
24 void StaticBox::CreateWidget(wxWindow* parent)
26 wxPanel *w=new wxPanel(
27 parent, //bbGetWxParent(),
31 w->SetName(bbtk::std2wx(bbGetInputWinTitle()));
33 wxStaticBoxSizer* boxSizer = new wxStaticBoxSizer(
36 bbtk::std2wx(bbGetInputBoxTitle())
39 wxWindow* content = bbCreateWidgetOfInput("BoxContent",w);
42 content = new wxPanel(w);
45 boxSizer->Add(content,1,wxEXPAND);
46 w->SetSizer(boxSizer);
52 // 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)
54 void StaticBox::bbUserSetDefaultValues()
56 bbSetInputBoxTitle("");
57 bbSetInputBoxContent(NULL);
60 // 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)
62 void StaticBox::bbUserInitializeProcessing()
67 // 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)
69 void StaticBox::bbUserFinalizeProcessing()
74 // This callback is necessary to get actual processing of the view
75 // when window is shown
76 void StaticBox::OnShowWidget()
82 #endif // _USE_WXWIDGETS_