#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())
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)
{
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)
{
Close();
}
-
//////////////////////////////////////////////////////////////////////
// Return the results vector //
//////////////////////////////////////////////////////////////////////