X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxSimpleDlg.cpp;h=5bc3cd7a38195423fc05319efbdc84d1a2d127b9;hb=517be64c97dd4af922cda7cd182a55cf56d6ac41;hp=4a343719f32c0a6d827918cc71a2a6cb0f0792de;hpb=40c5cfdc77e721db1507ffdac3625b7813f66f4c;p=creaImageIO.git diff --git a/src/creaImageIOWxSimpleDlg.cpp b/src/creaImageIOWxSimpleDlg.cpp index 4a34371..5bc3cd7 100644 --- a/src/creaImageIOWxSimpleDlg.cpp +++ b/src/creaImageIOWxSimpleDlg.cpp @@ -1,12 +1,11 @@ #include "creaImageIOWxSimpleDlg.h" #include "creaImageIOWxGimmickReaderDialog.h" - namespace creaImageIO { ///Ctor - WxSimpleDlg::WxSimpleDlg(wxWindow *parent, wxString i_title) + WxSimpleDlg::WxSimpleDlg(wxWindow *parent, wxString i_title) : wxDialog(parent, -1,_T("DISPLAY IMAGES"), wxDefaultPosition, wxSize(230,150)) { if(!i_title.empty()) @@ -25,13 +24,13 @@ namespace creaImageIO wxButton *gimmickBut = new wxButton(this, -1,_T("Select Gimmick"), wxPoint(10,70) ); Connect( gimmickBut->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , (wxObjectEventFunction) &WxSimpleDlg::OnReadGimmick ); - //TO DO Button to select Bruker directory + /// \TODO Button to select Bruker directory Layout(); } ////////////////////////////////////////////////////////////////////// -// // +// // ////////////////////////////////////////////////////////////////////// void WxSimpleDlg::OnReadFile(wxCommandEvent& event) { @@ -68,7 +67,7 @@ namespace creaImageIO void WxSimpleDlg::OnReadDirectory(wxCommandEvent &event) { long style = wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST; - wxDirDialog* FD = new wxDirDialog( 0, _T("Select the directory to display"), "", style); + wxDirDialog* FD = new wxDirDialog( 0, _T("Select the directory to display"), _T(""), style); if (FD->ShowModal()==wxID_OK) { @@ -104,7 +103,6 @@ namespace creaImageIO Close(); } - ////////////////////////////////////////////////////////////////////// // Return the results vector // //////////////////////////////////////////////////////////////////////