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()
{
}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{
}
- 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();