X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxTreeView.cpp;h=a165230543b22c7da7afee0ecc9f16c8598f361a;hb=37692ca5ea7fb8414cb70bcae0ce16e51da57568;hp=06452660eb89014db47cd72ed6f2a41a213fbd55;hpb=00dbbc177a9b5db334393734151e820a65f65efc;p=creaImageIO.git diff --git a/src2/creaImageIOWxTreeView.cpp b/src2/creaImageIOWxTreeView.cpp index 0645266..a165230 100644 --- a/src2/creaImageIOWxTreeView.cpp +++ b/src2/creaImageIOWxTreeView.cpp @@ -1199,9 +1199,12 @@ namespace creaImageIO { wxBoxSizer *topsizer = new wxBoxSizer(wxVERTICAL); - std::string out = "To reload deleted patient, you should synchornize your database before."; - wxTextCtrl *text = new wxTextCtrl(this, wxID_ANY,crea::std2wx(out),wxDefaultPosition, wxSize(500,20)); - mcheck = new wxCheckBox(this, 5478, "not display this warning again!"); + //std::string out("To reload deleted patient, you should synchronize your database before."); // JPR + //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)); + 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);