- return new wxStaticText(this, -1, wxString(nom), wxDefaultPosition,
- wxSize(sizex,sizey), wxALIGN_CENTRE, wxString(nom));
+ 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);