![]() By default, wxString can be implicitly created from char*, wchar_t*, std::string and std::wstring and can be implicitly converted to char* or wchar_t*. The other options all affect the presence, or absence, of various implicit conversions provided by this class. Please see Choosing Unicode Representation for more information about this choice. The main build options affecting wxString are wxUSE_UNICODE_WCHAR and wxUSE_UNICODE_UTF8, exactly one of which must be set to determine whether fixed-width wchar_t or variable-width char-based strings are used internally. When writing new code, you're encouraged to use wxString as if it were std::wstring and use only functions compatible with the standard class. This class is very similar to the standard string class, and is implemented using it, but provides additional compatibility functions to allow applications originally written for the much older versions of wxWidgets to continue to work with the latest ones. WxString is used for all strings in wxWidgets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |