News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Implicit wxString to char* conversion in src/sdk/projectloader.cpp

Started by jdx, April 09, 2023, 02:22:49 PM

Previous topic - Next topic

Miguel Gimenez

wxWidgets documentation for wxString states:
QuoteIf you built wxWidgets with wxUSE_STL set to 1, the implicit conversions to both narrow and wide C strings are disabled and replaced with implicit conversions to std::string and std::wstring.
The implicit conversions uses c_str(). If the call to TinyXML needs multibyte then mb_str() should have been used from start.