As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
What is this check? Does it work in the normal nightly?
#include <iostream>#include <string>#include <wx/wx.h>int main(int argc, char **argv){ if ( ! ::wxInitialize() ) return -1; wxString testString; wxString testString2; wxString testString3; wxString testString4; wxString testString5; std::string testSTL; testString = wxT("AAA AAA"); testString2 = wxT("AAA "); testString3 = wxT("AAAA "); testString4 = wxT(" AAAA"); testString5 = wxT("AAAAAAAAAAAA"); testSTL = "AAA "; std::cout << testString.mb_str(wxConvUTF8) << std::endl; std::cout << testString2.mb_str(wxConvUTF8) << std::endl; std::cout << testString3.mb_str(wxConvUTF8) << std::endl; std::cout << testString4.mb_str(wxConvUTF8) << std::endl; std::cout << testString5.mb_str(wxConvUTF8) << std::endl; std::cout << testSTL.c_str() << std::endl; return 0;}