- WtBlackBox::WeakPointer mBox;
- // DECLARE_EVENT_TABLE();
-
- };
-
- // BEGIN_EVENT_TABLE(WxFrame, wxFrame)
- // EVT_CLOSE(WxFrame::OnCloseWindow)
- //END_EVENT_TABLE();
- //==================================================================
-
- //==================================================================
-
- WtWContainer::WtWContainer(WtBlackBox::Pointer b,
- Wt::WContainerWidget *parent,
- Wt::WString title/*,
- wxSize size) */
- )
- :
- Wt::WContainerWidget( parent),
- mBox(b)
- {
- bbtkDebugMessage("widget",9,"["<<b->bbGetName()<<"] Wt::Widget()"
- <<std::endl);
- Wt::WObject::setObjectName(bbtk::wt2std(title));
- WWt::IncNbWindowsAlive();
- b->bbSetWindow(this);
- // Insert the widget into the window
- //wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
- std::cout<<"Creando WebWIDGET DELETE ME ---- bbtkWtBlackBox.cxx.................30%"<<std::endl;
- std::cout<<"NAME : "<<bbtk::wt2std(title);
- if(parent)
- std::cout<<" CON PADRE "<<parent->objectName()<<std::endl;
- else
+ //this->require("http://get.goXTK.com/xtk.js");
+ //this->useStyleSheet("css/demo.css");
+
+ //this->require("http://get.goXTK.com/xtk.js");
+ this->require( "resourcesXTK/xtk.js" );
+
+ // this->require("http://get.goXTK.com/xtk_edge.js");
+// this->require("http://get.goXTK.com/xtk_xdat.gui.js");
+ this->require( "resourcesXTK/xtk_xdat.gui.js" );
+
+ this->useStyleSheet("resourcesXTK/styleWT.css");
+ // std::cout<<"Cargado------------ "<<loadedJS<<std::endl;
+ mBox = myWtData.b;
+
+//EED -->
+ if(!myWtData.parent)
+ {