X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=399080797331edf6526afc3641686990baaf6bd9;hb=803877e98b79df963f17d83da7203fd972674d9e;hp=c59f95560ef497a02b31f0401d440fd66dc8d4d8;hpb=bd4e97f732f7c8154aafbf1bf419c6115e9560c7;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index c59f955..3990807 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -2,7 +2,6 @@ // Class definition include //---------------------------------------------------------------------------------------------------------------- - #include "wxContourGUIExample.h" #include "wxContourMainFrame.h" //#include "OutlineModelManager.h" @@ -16,7 +15,7 @@ #include "vtkMetaImageReader.h" #include -#include "vtkImageData.h"mb_ +#include "vtkImageData.h" #include "wx/artprov.h" #include @@ -28,9 +27,6 @@ //#include "SomeEnvironment.h" //#include "ReaderEnvironment.h" - - - //#include "interfMainPanel.h" @@ -45,9 +41,15 @@ #ifndef PATH_MAX // If not defined yet : do it # define PATH_MAX 2048 -#endif +#endif +#if defined(WIN32) + #include +#else + #include +#endif +#include 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;