]> Creatis software - creaImageIO.git/commitdiff
std::string vs wxString
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 16 Nov 2009 13:03:22 +0000 (13:03 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 16 Nov 2009 13:03:22 +0000 (13:03 +0000)
src2/creaImageIOWxTreeView.cpp

index 06452660eb89014db47cd72ed6f2a41a213fbd55..a165230543b22c7da7afee0ecc9f16c8598f361a 100644 (file)
@@ -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);