X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWt.cxx;h=67123894f3f16316982e03b788abf9f45934f62f;hb=85be7d05390ee84a66308c17c740565456ce15d2;hp=a0db910210255bb2cf320766e43ad62296fd64c4;hpb=75cedb45ce5353caf2b8cdd6c6f7fcff3b3a6555;p=bbtk.git diff --git a/kernel/src/bbtkWt.cxx b/kernel/src/bbtkWt.cxx index a0db910..6712389 100644 --- a/kernel/src/bbtkWt.cxx +++ b/kernel/src/bbtkWt.cxx @@ -80,7 +80,7 @@ namespace bbtk 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. } @@ -89,7 +89,7 @@ namespace bbtk { } - +/* int WtApp::WtWRun() { char *argv[7] = {"./WtTest","--docroot",".","--http-address","0.0.0.0","--http-port","8080"}; @@ -102,7 +102,7 @@ namespace bbtk { return new WtApp(env); } - +*/ @@ -119,7 +119,7 @@ namespace bbtk bbtkGlobalError("Wt::CreateWtAppIfNeeded() : INTERNAL ERROR ! (Wt::WApplication::instance()==0) && (mgWtApp != 0)"); } bbtkDebugMessage("wt",1," --> Creating bbtk WtApp"<