- wxString newstring1(nom.c_str() , wxConvUTF8);
- return new wxStaticText(this, -1, newstring1 /*wxString(nom)*/, wxDefaultPosition,
- //wxSize(sizex,sizey), wxALIGN_CENTRE, wxString(nom));
- wxSize(sizex,sizey), wxALIGN_CENTRE, newstring1);
+ return new wxStaticText(this, -1, wxString(nom.c_str(),wxConvUTF8), wxDefaultPosition,
+ wxSize(sizex,sizey), wxALIGN_CENTRE, wxString(nom.c_str(),wxConvUTF8));