User forums > General (but related to Code::Blocks)

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

<< < (4/4)

Miguel Gimenez:
wxWidgets documentation for wxString states:

--- Quote ---If 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.
--- End quote ---
The implicit conversions uses c_str(). If the call to TinyXML needs multibyte then mb_str() should have been used from start.

Navigation

[0] Message Index

[*] Previous page

Go to full version