]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index 9849c424834c19e768a347039e3e57682311a8d8..45815f4daef26d006c803875055aa272ef9af948 100644 (file)
@@ -41,11 +41,23 @@ wxContourMainFrame* wxTheApplication::frame = 0;
 
 IMPLEMENT_APP( wxTheApplication );
 
+/*
 wxContourGUIExample :: wxContourGUIExample(const wxString& title, const wxPoint& pos, const wxSize& size)
 : wxFrame((wxFrame *) NULL, -1, title, pos, size)
 {
        
 }
+*/
+
+#ifdef _DEBUG
+void wxAppConsole::OnAssert(char const *,int,char const *,char const *)
+{
+}
+
+void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *)
+{
+}
+#endif
 
 bool wxTheApplication :: OnInit()
 {
@@ -233,7 +245,7 @@ JCP 17-10-2008*/
 
        }else if (w.GetReturnCode() == wxID_CANCEL){
           vtkMetaImageReader *reader = vtkMetaImageReader::New();
-          reader->SetFileName( "D:/CAT08/Datos/Imagenes/image06.mhd"); //"data/hola.mhd" );
+          reader->SetFileName( "data/hola.mhd" );
           reader->Update();
           images.push_back(reader->GetOutput());
        }else{        
@@ -241,7 +253,8 @@ JCP 17-10-2008*/
        }   
 
 
-       wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
+       wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 09 Feb 2009 "), wxPoint(400,50), wxSize(800, 600) );
+
        //frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(_T("")), wxPoint(50,50), wxSize(800, 600), images ); 
        frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(200,50), wxSize(800, 600), images );
        frame1->CreateStatusBar();