From ef53b56c2062dc6f1dbfe2db1bfc94291506c30b Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 25 Mar 2022 16:08:14 +0100 Subject: [PATCH] Clean code --- appli/wxContourGUIExample/CMakeLists.txt | 1 - appli/wxContourGUIExample/wxContourGUIExample.cxx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/appli/wxContourGUIExample/CMakeLists.txt b/appli/wxContourGUIExample/CMakeLists.txt index 8820fed..9a0ec88 100644 --- a/appli/wxContourGUIExample/CMakeLists.txt +++ b/appli/wxContourGUIExample/CMakeLists.txt @@ -42,7 +42,6 @@ ENDIF(WIN32) INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${creaImageIO2_INCLUDE_DIRS}) - TARGET_LINK_LIBRARIES( creaContourApp # ${WXWIDGETS_LIBRARIES} ${VTK_LIBRARIES} diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index 420a894..707a287 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -74,8 +74,10 @@ wxContourGUIExample :: wxContourGUIExample(const wxString& title, const wxPoint& //} #endif + bool wxTheApplication::OnInit() { + vtkOutputWindowCreaContour *outputWindowCreaContour= vtkOutputWindowCreaContour::New(); vtkOutputWindow::SetInstance( outputWindowCreaContour ); outputWindowCreaContour->Delete(); -- 2.47.1