X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOWxTreeView.cpp;h=db67f8bcc07f7b2ee1afddffb5366f65a0de0f6d;hb=dca2b96642a75acfa6f925ed6f86e146a2ddc3da;hp=3b30d4cf9c192e5892aa02028ea80c5fb894091c;hpb=3a22e19184c369b130d4caa992a8e98e50c7a0ee;p=creaImageIO.git diff --git a/src/creaImageIOWxTreeView.cpp b/src/creaImageIOWxTreeView.cpp index 3b30d4c..db67f8b 100644 --- a/src/creaImageIOWxTreeView.cpp +++ b/src/creaImageIOWxTreeView.cpp @@ -1145,6 +1145,8 @@ namespace creaImageIO } } + + //================================================================ void WxTreeView::GetFilenamesAsString(const std::vector& nodes, std::vector&s) { @@ -1252,15 +1254,14 @@ namespace creaImageIO found=true; } } - return !found; } //================================================================ //================================================================ RemoveAlertDlg::RemoveAlertDlg(wxWindow *parent, - wxString title, - const wxSize& size) + wxString title, + const wxSize& size) : wxDialog( parent, wxID_ANY, title, @@ -1274,7 +1275,7 @@ namespace creaImageIO //wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY,crea::std2wx(out),wxDefaultPosition, wxSize(500,20)); wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY, _T("To reload deleted patient, you should synchronize your database before."), - wxDefaultPosition, wxSize(500,20)); + wxDefaultPosition, wxSize(650,20)); // 650 vs 500 ? // JPRx mcheck = new wxCheckBox(this, 5478, _T("Do not display this warning again!")); Connect( mcheck->GetId(), wxEVT_COMMAND_CHECKBOX_CLICKED , (wxObjectEventFunction) &RemoveAlertDlg::onCheck ); wxSizer* buttonsSizer = this->CreateSeparatedButtonSizer(wxOK|wxCANCEL);