]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
OK
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index c59f95560ef497a02b31f0401d440fd66dc8d4d8..399080797331edf6526afc3641686990baaf6bd9 100644 (file)
@@ -2,7 +2,6 @@
 // Class definition include
 //----------------------------------------------------------------------------------------------------------------
 
-
 #include "wxContourGUIExample.h"
 #include "wxContourMainFrame.h"
 //#include "OutlineModelManager.h"
@@ -16,7 +15,7 @@
 
 #include "vtkMetaImageReader.h"
 #include <map>
-#include "vtkImageData.h"mb_
+#include "vtkImageData.h"
 
 #include "wx/artprov.h"
 #include <wx/filedlg.h>
@@ -28,9 +27,6 @@
 //#include "SomeEnvironment.h"
 //#include "ReaderEnvironment.h"
 
-
-
-
 //#include "interfMainPanel.h"
 
 
 
 #ifndef PATH_MAX // If not defined yet : do it 
 #  define PATH_MAX 2048
-#endif 
+#endif
 
+#if defined(WIN32)
+  #include <direct.h>
+#else
+   #include <dirent.h>  
+#endif
 
+#include <stdlib.h>
 
 
 wxContourMainFrame* wxTheApplication::frame = 0;
@@ -56,8 +58,6 @@ wxContourMainFrame* wxTheApplication::frame = 0;
 //----------------------------------------------------------------------------------------------------------------
 
 
-
-
 /*
 //EED
 // http://lists.wxwidgets.org/archive/wx-dev/msg30449.html
@@ -92,9 +92,6 @@ wxString GetExecutablePath()
 }
 */
 
-
-
-
 //=========================================================================  
 // From http://www.fltk.org/newsgroups.php?gfltk.general+v:22083
 //
@@ -280,6 +277,10 @@ void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,ch
 bool wxTheApplication :: OnInit()
 {
 
+
+       
+       
+
        wxInitAllImageHandlers();
 
    int image_type = GIMMICK_3D_IMAGE_SELECTION;