]> Creatis software - creaImageIO.git/blobdiff - appli/TestWxGimmickReaderDialog/main.cxx
Fixed add files problem and Mac compatibility
[creaImageIO.git] / appli / TestWxGimmickReaderDialog / main.cxx
index 7c9dce14b0bf3941f26f24dd2f0d5a8dcc62f7f4..19afb0578a472c951c51a56509087fc92fb6a3ae 100644 (file)
@@ -24,10 +24,10 @@ bool myApp::OnInit( )
 #endif
    wxInitAllImageHandlers();
 
-   /*
-   creaImageIO::SetGimmickMessageLevel(9);
-   creaImageIO::SetGimmickDebugMessageLevel(9);
-   */
+   
+   creaImageIO::SetGimmickMessageLevel(5);
+   creaImageIO::SetGimmickDebugMessageLevel(0);
+   
 
    int min_dim = GIMMICK_2D_IMAGE_SELECTION;
    int max_dim = GIMMICK_3D_IMAGE_SELECTION;
@@ -38,7 +38,7 @@ bool myApp::OnInit( )
                                        -1,
                                        _T("Select image(s)        - Gimmick! (c) CREATIS-LRMN 2008"),
                                        wxDefaultPosition,
-                                       wxSize(600,750),
+                                       wxSize(635,750),
                                        min_dim,
                                        max_dim,
                                        output_dim,
@@ -61,9 +61,9 @@ bool myApp::OnInit( )
 
           //Puts images
        std::vector<vtkImageData*> images;
-       w.GetSelectedImages(images,output_dim);
-          
-       crea::VtkBasicSlicer(images.front());
+          w.GetSelectedImages(images,output_dim);
+
+          crea::VtkBasicSlicer(images.front());
        images.front()->Delete();
           w.OnExit();