X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=1fc7f77c75f1151ac1ce0ce4168ea3e51ad2835c;hb=2ddb9de651984bea4376da16a35e2f02a78a76c0;hp=5ba7580971cc9cbb9ed1e092f52cfae4470f415f;hpb=03596c3a81a960624efaadc28a4cfc52d831ec98;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index 5ba7580..1fc7f77 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -271,10 +271,14 @@ bool wxTheApplication :: OnInit() int output_dim = NATIVE; int threads = 1; + std::vector images; + //creaImageIO::WxGimmickDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),max_image_type,threads); + creaImageIO::WxGimmickReaderDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),min_image_type,max_image_type,output_dim,threads); w.ShowModal(); + //JCP //std::string datadir( crea::wx2std(GetExecutablePath()) ); std::string datadir( GetExecutablePath() ); @@ -285,7 +289,6 @@ bool wxTheApplication :: OnInit() #endif // MACOSX - std::vector images; if(w.GetReturnCode() == wxID_OK) { @@ -313,6 +316,8 @@ bool wxTheApplication :: OnInit() return -1; } + + wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application - Evaluation version, 09 Feb 2009 "), wxPoint(400,50), wxSize(800, 600) ); //frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(_T("")), wxPoint(50,50), wxSize(800, 600), images );