std::string comp functions returns wxStringBase
Jonas Rydberg
jonas at arbor.se
Sat Dec 2 14:27:54 PST 2006
Hello
In the documentation of wxString it says that (some of) the std::string
compatability functions returns wxString, for example substr(). But at
least in in wx 2.8.0rc1 they return wxStringBase, which means that code
like this fails:
wxString str("hello world");
wxString str2 = str.substr(0, 5).AfterFirst('e');
I'm not sure if it's a problem in the documention, or the
implementation, but at least it's a difference.
Regards
/Jonas
More information about the wx-users
mailing list