p.s. Thomas are you talking to me or to Killerbot?
Was referring to Killerbot's statement that this build configuration had been changed. In my opinion, this couldn't even work (apart from the memory issues that you've pointed out).
Though in the mean time, I've verified the code in
tinywxuni.cpp. It actually uses a
char* for reading, and TinyXML's
CStr() function for writing, so (unintentionally) I've written code that works in either configuration.
I was under the assumption that these expected
wxString references, but these are only assigned in the application, not the utility function.
About TinyXML2, my point was that rather than tweaking some config value that presumably does little good, one could replace TinyXML with its newer version, if there's a desire to make it faster (or whatever other reason).