From c746c53074ffd15a6c275dba3524d6caff3f5af8 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Mon, 16 Nov 2009 13:03:22 +0000 Subject: [PATCH] std::string vs wxString --- src2/creaImageIOWxTreeView.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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); -- 2.45.0