]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index 1fc7f77c75f1151ac1ce0ce4168ea3e51ad2835c..a679b72b006ad4b39d67e0b248995fd494e6a0da 100644 (file)
@@ -273,9 +273,17 @@ bool wxTheApplication :: OnInit()
 
        std::vector<vtkImageData*> 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);
+       creaImageIO::WxGimmickReaderDialog w(0,
+                                                                               -1,
+                                                                               "creaContours_Descriptor.dscp",
+                                                                               "creatisContours DB", 
+                                                                               _T("WxGimmickDialog test"),
+                                                                               wxDefaultPosition,wxSize(1200,800)
+                                                                               ,min_image_type,
+                                                                               max_image_type,
+                                                                               output_dim,
+                                                                               threads);
+  
        w.ShowModal();
 
 
@@ -289,7 +297,6 @@ bool wxTheApplication :: OnInit()
                #endif // MACOSX        
                
                
-
                        if(w.GetReturnCode() == wxID_OK)
                        {
                                std::vector<std::string> s;
@@ -317,7 +324,6 @@ bool wxTheApplication :: OnInit()
                        }   
 
 
-
        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 );