}
}
-
void wxContourMainFrame::onTest(){
std::string filename, filenamecontours;
- wxFileDialog dialog(NULL, _T("Choose a XML Osirix File"), _T(""), _T(""), _T("*.xml"), wxOPEN );
+ wxFileDialog dialog(NULL, _T("Choose a File"), _T(""), _T(""), _T("*.*"), wxOPEN );
if (dialog.ShowModal() == wxID_OK)
{
filename = dialog.GetPath().mb_str();
- filenamecontours = kernelManager->parseOsirixFile(filename);
-
- if(filenamecontours.compare("") != 0){
- onLoadContours(filenamecontours);
- }
-
+ std::cout << "This is the filename: " << filename << std::endl;
}
}