]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx
*** empty log message ***
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.cxx
index 8c8beb05edb61a3fae3d56edcde0459c526bc5da..83863e8d5827ec67a3b2d0741b7ef81d9a1c1e3e 100644 (file)
@@ -1008,6 +1008,17 @@ void wxContourMainFrame::onImport(){
 
        }
 }
+void wxContourMainFrame::onTest(){
+       std::string filename, filenamecontours;
+       wxFileDialog dialog(NULL, _T("Choose a File"), _T(""), _T(""), _T("*.*"), wxOPEN );
+
+       if (dialog.ShowModal() == wxID_OK)
+       {
+               filename = dialog.GetPath().mb_str();           
+               std::cout << "This is the filename: " << filename << std::endl;
+       }
+}
+
 
 //AD: 29-05-09
 void wxContourMainFrame::onSave(){