//===== // 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) //===== #include "bbwxCollapsiblePane.h" #include "bbwxPackage.h" #include #include namespace bbwx { BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,CollapsiblePane) BBTK_BLACK_BOX_IMPLEMENTATION(CollapsiblePane,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 CollapsiblePane::Process() { printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); } //===== // 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 CollapsiblePane::CreateWidget(wxWindow* parent) { printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); printf("CollapsiblePane::CreateWidget EED Somethin is wrong with the wxCollapsiblePane\n"); wxPanel *mainWidget = new wxPanel(parent, -1, wxDefaultPosition, wxSize(40,40) ); wxCollapsiblePane *collpane = new wxCollapsiblePane( mainWidget, wxID_ANY, bbtk::std2wx( bbGetInputLabel() ), wxDefaultPosition, wxDefaultSize, wxCP_DEFAULT_STYLE|wxCP_NO_TLW_RESIZE); wxBoxSizer *mainSizer = new wxBoxSizer(wxHORIZONTAL); wxWindow *winPane = collpane->GetPane(); wxSizer *paneSz = new wxBoxSizer(wxHORIZONTAL); wxWindow* cw; if ((cw=bbCreateWidgetOfInput("Widget",winPane)) != 0) { paneSz->Add( cw , 1, wxGROW|wxALL, 2); } winPane->SetSizer(paneSz); mainSizer->Add(collpane, 0, wxGROW|wxALL, 5); mainWidget->SetSizer(mainSizer); bbSetOutputWidget( mainWidget ); } //===== // 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 CollapsiblePane::bbUserSetDefaultValues() { bbSetInputLabel("void"); bbSetInputWidget(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 CollapsiblePane::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 CollapsiblePane::bbUserFinalizeProcessing() { } }// EO namespace bbwx