]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
OK
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index 201dcbb51b1ca961cfe88f913ad80ef0943a9015..399080797331edf6526afc3641686990baaf6bd9 100644 (file)
@@ -2,7 +2,6 @@
 // Class definition include
 //----------------------------------------------------------------------------------------------------------------
 
-
 #include "wxContourGUIExample.h"
 #include "wxContourMainFrame.h"
 //#include "OutlineModelManager.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 <direct.h>
 #include <stdlib.h>
 
 
@@ -57,8 +58,6 @@ wxContourMainFrame* wxTheApplication::frame = 0;
 //----------------------------------------------------------------------------------------------------------------
 
 
-
-
 /*
 //EED
 // http://lists.wxwidgets.org/archive/wx-dev/msg30449.html
@@ -93,9 +92,6 @@ wxString GetExecutablePath()
 }
 */
 
-
-
-
 //=========================================================================  
 // From http://www.fltk.org/newsgroups.php?gfltk.general+v:22083
 //