mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-19 02:32:39 +08:00
This adds a yet another conversion function, which is not ideal, but still better than having to write ToStdString(wxConvUTF8) every time for losslessly converting wxString to std::string: not only this is too long, but it's also too easy to forget to specify wxConvUTF8, resulting in data loss when using non-UTF-8 locale.