From: jean-pierre roux Date: Mon, 16 Nov 2009 13:03:22 +0000 (+0000) Subject: std::string vs wxString X-Git-Tag: CREATOOLS.2-0-3~90 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c746c53074ffd15a6c275dba3524d6caff3f5af8;p=creaImageIO.git std::string vs wxString --- 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);