I don't know if this helps, but from the wxWiKi:
Converting an integer to wxString
To convert, for example, an integer to a wxString, you can use several methods:
* wxString mynewstring = wxString::Format("%d", myoldinteger)
* wxString s; s.Printf("%d", myint);
* wxString mynewstring = wxString("") << myoldinteger;
If you're going straight into a text control, you can skip the conversion entirely: *textctrl << myint;