]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxOutputDlg.cpp
std::string vs wxString
[creaImageIO.git] / src / creaImageIOWxOutputDlg.cpp
index a9271911cb9e075253d261e58919b528a3c970da..eee5600914af868db09e818962694a5445756a18 100644 (file)
@@ -71,12 +71,12 @@ namespace creaImageIO
 
 
          int start_point = 45;
-         wxStaticText * ExportText=new wxStaticText(this,-1,_T(sentence), wxPoint(5,10));
+         wxStaticText * ExportText=new wxStaticText(this,-1,crea::std2wx(sentence), wxPoint(5,10));
          
          std::vector<std::string>::iterator it = outsentences.begin();
          for(int i = 0;it != outsentences.end(); it++, i++, start_point += 45)
          {
-                wxCheckBox *check = new wxCheckBox(this, -1, _T((*it)), wxPoint(5,start_point) );
+                wxCheckBox *check = new wxCheckBox(this, -1, crea::std2wx((*it)), wxPoint(5,start_point) );
                 if(i == deflt)
                         check->SetValue(true);
                 else
@@ -85,7 +85,7 @@ namespace creaImageIO
                  checkOut.push_back(check);
          }
          
-        checkAsking = new wxCheckBox(this, -1, _T(("Do you want to save this output and no more asking")), wxPoint(5,start_point) );
+        checkAsking = new wxCheckBox(this, -1, _T("Do you want to save this output and no more asking"), wxPoint(5,start_point) );
 
          // VALIDATION BUTTON
          wxButton *Ok = new wxButton(this, -1,_T("OK"), wxPoint(5,start_point+20) );