Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Last standing unicode problem
takeshimiya:
Errm, I suggest those settings only to test if it's a wxWidgets bug in the stream classes.
mandrav:
--- Quote from: rickg22 on November 24, 2005, 08:46:45 pm ---Yiannis, mind explaining exactly why you can't use it? It throws a runtime error or what?
--- End quote ---
Nope, just it isn't actually added to the string:
--- Code: ---wxString astr = "Test";
astr << 5;
astr == "Test", instead of "Test5"...
--- End code ---
killerbot:
how about using the stl streams directly, should be portable ;
ostringstream class (things go into a sting buffer which can be requested at the end of all appending); ostringstream is just like cout, only everything get's into a strring.
But then again, you have to replace stuff, which you wanted to prevent doing in the first place ;-)
rickg22:
Yiannis: Mind giving us a particular filename / line no. ?
takeshimiya:
killerbot: that's why I'm saying to test with the STL streams instead of the wx streams. Only to know if it's a bug of wx or not.
#define wxUSE_STD_IOSTREAM 1
#define wxUSE_STD_STRING 1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version