X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fappli%2Fbbi%2Fbbi.cxx;h=c4729fc90b52f4e7fb261368c7f2a2a601a08eb0;hb=5529db4fdab74bdb508c71ea3c2b8298a1f14a74;hp=3b5580b6b5381f35f0b6497354552f0df732045f;hpb=536dfc0a21b307fe5fa18afca108a77a5f79a6f6;p=bbtk.git diff --git a/kernel/appli/bbi/bbi.cxx b/kernel/appli/bbi/bbi.cxx index 3b5580b..c4729fc 100644 --- a/kernel/appli/bbi/bbi.cxx +++ b/kernel/appli/bbi/bbi.cxx @@ -24,9 +24,11 @@ # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ +//__asm__(".symver fcntl64,fcntl64@GLIBC_2.27"); #ifdef _USE_WXWIDGETS_ + #include //========================================================================== @@ -121,7 +123,7 @@ void WxProcessCmdLine::Process(wxCmdLineParser& parser) #if wxMAJOR_VERSION <= 2 graphical_dialog = ( parser.Found(_T("wxcommandlineg")) ); #else - printf("EED Warnning. WxProcessCmdLine::Process g wxcommandlineg "); + printf("EED Warnning. WxProcessCmdLine::Process g wxcommandlineg \n"); graphical_dialog = ( parser.Found(_T("g")) ); #endif @@ -202,15 +204,12 @@ bool wxBBIApp::OnCmdLineParsed(wxCmdLineParser& parser) - - - //========================================================================== // The `main program' equivalent, creating the windows and returning the // main frame bool wxBBIApp::OnInit( ) { - printf("EED wxBBIApp::OnInit 1\n"); + //Borrame //FILE *ff; ff = fopen ("/tmp/wt.log","a+"); fprintf(ff,"EED wxBBIApp::OnInit\n"); fclose(ff); @@ -221,8 +220,6 @@ bool wxBBIApp::OnInit( ) setlocale(LC_NUMERIC, "C"); #endif - printf("EED wxBBIApp::OnInit 2\n"); - if (cmd.quiet) bbtk::MessageManager::SetMessageLevel("max",0); if (cmd.debug) bbtk::MessageManager::SetMessageLevel("all",9); @@ -231,15 +228,10 @@ bool wxBBIApp::OnInit( ) //printf ("EED bbi wxBBIApp::OnInit .....................\n"); //cmd.input_file.push_back("/home/davila/Borrame/testwt.bbs"); - printf("EED wxBBIApp::OnInit 2.1\n"); - bbtk::WxGUIConsole *I = new bbtk::WxGUIConsole(0,_T("bbi"),wxSize(800,600)); - printf("EED wxBBIApp::OnInit 2.2\n"); SetTopWindow(I); - printf("EED wxBBIApp::OnInit 2.3\n"); if (cmd.console) I->Show(true); -printf("EED wxBBIApp::OnInit 3\n"); I->SetInputs(cmd.param_map); @@ -251,7 +243,6 @@ printf("EED wxBBIApp::OnInit 3\n"); std::vector::const_iterator i; bool error = false; -printf("EED wxBBIApp::OnInit 4\n"); for (i=cmd.input_file.begin(); i!=cmd.input_file.end(); ++i) { @@ -269,7 +260,6 @@ printf("EED wxBBIApp::OnInit 4\n"); I->GetInterpreter()->GetExecuter()->GetFactory()->PrintHelpDescriptor("workspace",package,false); } -printf("EED wxBBIApp::OnInit 5\n"); /* std::cout << "soe="<Close(); // std::cout << "I->Close"<2) // {