X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FwxContourGUIExample%2FwxContourGUIExample.cxx;h=707a287102626a794f1ddebda894388dafa6f7d8;hb=ef53b56c2062dc6f1dbfe2db1bfc94291506c30b;hp=4c3a29628e0ffc4dd425b2c9347a1b60fc8fc8c5;hpb=a1a71313f5569279919f44fcc2a5ebbbea123057;p=creaContours.git diff --git a/appli/wxContourGUIExample/wxContourGUIExample.cxx b/appli/wxContourGUIExample/wxContourGUIExample.cxx index 4c3a296..707a287 100644 --- a/appli/wxContourGUIExample/wxContourGUIExample.cxx +++ b/appli/wxContourGUIExample/wxContourGUIExample.cxx @@ -29,14 +29,9 @@ #include "wxContourGUIExample.h" #include "wxContourMainFrame.h" -//#include "OutlineModelManager.h" -//#include "wxContourEventHandler.h" -//#include -//#include #include #include #include -//#include "wxContourMainPanel.h" #include "vtkMetaImageReader.h" #include #include "vtkImageData.h" @@ -70,17 +65,19 @@ wxContourGUIExample :: wxContourGUIExample(const wxString& title, const wxPoint& */ #ifdef _DEBUG -void wxAppConsole::OnAssert(char const *,int,char const *,char const *) -{ -} +//void wxAppConsole::OnAssert(char const *,int,char const *,char const *) +//{ +//} -void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *) -{ -} +//void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *) +//{ +//} #endif + bool wxTheApplication::OnInit() { + vtkOutputWindowCreaContour *outputWindowCreaContour= vtkOutputWindowCreaContour::New(); vtkOutputWindow::SetInstance( outputWindowCreaContour ); outputWindowCreaContour->Delete(); @@ -113,6 +110,7 @@ bool wxTheApplication::OnInit() //JCP //std::string datadir( crea::wx2std(GetExecutablePath()) ); std::string datadir( crea::System::GetExecutablePath() ); + //JCP #ifdef LINUX /* assume this is OSX */ datadir=datadir+"/../share/creaContours";