]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOWxTreeView.cpp
clean-up
[creaImageIO.git] / src2 / creaImageIOWxTreeView.cpp
index 06452660eb89014db47cd72ed6f2a41a213fbd55..03c5b0d3d3dab15af21147d39eab9ca01d53d01d 100644 (file)
@@ -5,7 +5,6 @@
 #include <wx/gdicmn.h>
 #include <boost/date_time/gregorian/gregorian.hpp>
 
-
 //=====================================================================
 namespace creaImageIO
 {
@@ -1199,9 +1198,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);