X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;fp=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=46c896e3b8c4c41e118a0938c7dcf7e8d53bff83;hb=be072a1f7f8ed1b487717acf226cd381192c26f3;hp=38a8b9fe33e197a08759e3e99d8a2902aea0c5bc;hpb=242e4c37e5e22bcba90456327564ea9b3d1d6274;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index 38a8b9f..46c896e 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -82,6 +82,8 @@ #include + + wxContourMainFrame* wxTheApplication::frame = 0; //---------------------------------------------------------------------------------------------------------------- @@ -113,8 +115,14 @@ void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,ch } #endif + + bool wxTheApplication :: OnInit() { + vtkOutputWindowCreaContour *outputWindowCreaContour= vtkOutputWindowCreaContour::New(); + vtkOutputWindow::SetInstance( outputWindowCreaContour ); + outputWindowCreaContour->Delete(); + wxString infoImage; wxInitAllImageHandlers();