WtApp::WtApp(const Wt::WEnvironment& env):
Wt::WApplication(env)
{
- Wt::WApplication::root()->addWidget(WWt::GetTopWindow());
+ //root()->addWidget(WWt::GetTopWindow());
// There is not additional configuration. The new WtApp must have the same behavior that one Wt::WApplication.
}
{
}
-
+/*
int WtApp::WtWRun()
{
char *argv[7] = {"./WtTest","--docroot",".","--http-address","0.0.0.0","--http-port","8080"};
{
return new WtApp(env);
}
-
+*/
bbtkGlobalError("Wt::CreateWtAppIfNeeded() : INTERNAL ERROR ! (Wt::WApplication::instance()==0) && (mgWtApp != 0)");
}
bbtkDebugMessage("wt",1," --> Creating bbtk WtApp"<<std::endl);
- WtApp::WtWRun();
+ //WtApp::WtWRun();
}
bbtkDebugMessage("process",2,"Create WtApp If needed debuging");
}