]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWt.cxx
2498 BBTK Feature New Normal wt-version kernel
[bbtk.git] / kernel / src / bbtkWt.cxx
index a0db910210255bb2cf320766e43ad62296fd64c4..67123894f3f16316982e03b788abf9f45934f62f 100644 (file)
@@ -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"<<std::endl);  
-                       WtApp::WtWRun();
+                       //WtApp::WtWRun();
                }               
                bbtkDebugMessage("process",2,"Create WtApp If needed debuging");
   }